HELP, I have A solution from my friend. i created 2 html to passing to another html. See this code: *----PAGE1----* <html> <body> <form action="page2.html"> Please enter your name: <input name="user"/> <br/> Then <input type="submit" value="click here" /> </form> </body> </html> *----PAGE2----* <html> <head> <script type="text/javascript"> var pairs = location.search.substring(1).split( "&" ); var name = "anonymous"; for ( var p = 0; p < pairs.length; ++p ) { var pair = pairs[p].split("="); if ( pair[0] == "user" ) name = unescape( pair[1].replace(/\+/g," ") ); } </script> <body> <h1>WELCOME</h1> <br/> <h2>To our friend, <script type="text/javascript">document.write(name);</script> </h2> <br/> Hope you enjoy this site. </body> </html> >>>>>>>>>>>>>><<<<<<<<<<<< My Question I can Add more Input type in PAGE 1 example : <input name="user"/> <input name="age"/> <input name="from"/> <input name="zip"/> but i dont know modify SCRIPT Source code PAGE 2 If you know this problem, please give a solution. Thanks,….
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)