i am a fresher to html,css and java script. i am creating a main html page with the tile main.html , it contains a search box. then i am linking this to another web page(sub.html) which contains a search box and other stuffs. now i want the data entered in main.html to be passed as value to the search box in the sub.html. how can i do it?
passing form data between 2 web pages
Collapse
X
-
Tags: None
-
For this you have to use a server side scripting language like php or asp. Or you can create cookie in javascript by which you can access those value in another page.
For basic cookie tutorial just visit www.w3schools.com and under javascript section select cookies. By going throught that page you'll be able to solve your problem
Comment