0

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?

1 Answer 1

1

Yes. You don't need jQuery, just pure JavaScript. See this answer.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.