did javascript or jquery has method as Server.UrlEncode() in asp.net
eg:when using
$.get("a.aspx?pk=1&k="+kvale, function(data) {
dosth(data);
});
url must encode
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can convert any string to a URL-encoded string (suitable for transmission as a query string or, generally speaking, as part of a URL) using the JavaScript functions
escape,encodeURIandencodeURIComponent.Source:
http://www.javascripter.net/faq/escape.htm