Suppose I have an url like : http://localhost:1122/MyProject/MyPage.aspx?from=home&id=454. I can retrieve the 'form' value in code behind like Request["from"].How can I do the same using Javascript?Can I do this using Jquery also?If yes how can I do this?
+1
A:
Yes. You don't need jQuery, just pure JavaScript. See this answer.
Nate Pinchot
2010-08-06 12:30:07
A:
Just doing a quick google search on get request parameters in javascript I found this which can help you
Dean
2010-08-06 12:31:46