Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Values from one page to another

Status
Not open for further replies.

jmcg

Technical User
Jun 30, 2000
223
GB
Looking for a 'simple' way to pass values from one page to another.<br>If a user click on item1 they will go to another page with a form and a text box &quot;order&quot; will be prefilled with item1.<br>Is this possible?<br>Any help appreciated.
 
email me and I'll send you some commented code...<br>too long to put here, but all you need to do is tack<br>the variable onto the end of the url like:<br><br>page1.htm?itemordered=item1<br><br>You can access everything after the (?) by using window.location.search<br><br><A HREF="mailto:jared@aauser.com">jared@aauser.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top