I need to alter the url for my service based upon user input so am using a function something like this :-
this does not seem to work .. the url gets mangled.
however if I use the same idea for the data: to pass extra parameters it works fine
How can I make the url a function so I can change the value?
url: function() { return '/myservice/search/' + $("#txtSearch").val();},this does not seem to work .. the url gets mangled.
however if I use the same idea for the data: to pass extra parameters it works fine
How can I make the url a function so I can change the value?