I'm making an ajax request and I have some problems, this is my jquery code:
var url = "http://www.domain.com/SearchService.svc/search?keyword=my search keywords";
$.ajax({
type: "GET",
url: url,
dataType: "json".......
.....
When making this request I sometimes have blank spaces in my search (var url) and then the keywords get cutted so in the example above for example it just searches for "my". I understand this is a quite simple question and that must be an easy solution. Just couldn't find a solution...
Thanks for your help!