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!

Cookie Data to hidden form to Post 1

Status
Not open for further replies.

Frank3si

Programmer
Feb 8, 2001
1
US


Hi -

This is kind of a newbie question, but I have a working asp that I need to improve. I read a cookie, load an ID into a variable, then using a form with hidden input, send via a Post method two default values and the ID from the cookie to another page. I wrote a vbscript to read the cookie, and built a form which loads the defaults, then pulls the ID from the vbscript variable, all three values now in the form's "hidden" input. When you click on a submit button everything works fine.

My question - I'd like to remove the submit button, and just have the hidden form data submitted via the Post method automatically, without user action via the input button. How can I do this? Thanks!

Frank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top