How can i send a string with a & in it (Ex : google & facebook) as the querystring value ? Now
var strUrl="ajaxpage.aspx?subject=my subject line &cmnt=google & facebook";
strUrl = encodeURI(strUrl);
$.ajax({ url: strUrl, success: function (data) {
alert(data)
}
});
Now when i read query string "cmnt", I am getting only "google" because it breaks the &
What is the workaround for this ? Thanks