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?
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?
Yes. You don't need jQuery, just pure JavaScript. See this answer.