Skip to content Skip to sidebar Skip to footer

Jquery Remove Strange Characters From The Array

I have an array and I am sending it to a web service, the url is this http://localhost:4025/vmp_webservice.asmx/LoadService2Daily?fromDate=2014-05-26+00%3A00%3A00&toDate=2014-0

Solution 1:

OK, these are the square brackets and it has to parsed and removed from URL:

var sc = JSON.stringify(selectedCampaigns);

pass this sc where you're trying to pass selectedCampaigns as an array.


Post a Comment for "Jquery Remove Strange Characters From The Array"