0

Hi

I am getting value from another page by sending it as part of url query. I want to know how to set that value to textbox or any component in current html page.

I tried document.getElementById().value. But it is not working.

Is there a way in javascript where I can store a variable value which can be passed to subsequent pages and depending on that I do some action in current page?

Thanks,
VC

Edited by VenusCrystal

2
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by VenusCrystal
0

You have to parse the url for the page you are on to get the query string information. You can also use cookies or local storage.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.