Hai every one i have a 2 textbox and 1 button in page1.html.when click into the the button it redirect into the page2.html.In page2.html i press the back button it goes to the page1.html.When moving to the page1 i need to get the textbox value what i have enterd.Anybody
kindly guide me
Hai every one i have a 2 textbox and 1 button in page1.html .when
Share
You’ll need to use some form of Javascript, as HTML doesn’t contain a way of controlling values between pages. This is either client scripted, server-side coded or browser feature.
To do it in Javascript (without JQuery), look at something like this. I’m not sure why you don’t want to do jQuery, it will make some things easier. In case you change your mind, there’s plenty of cookie plugins available for it.
jQuery method is here: jQuery BBQ.