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!

POST Question

Status
Not open for further replies.

BoulderBum

Programmer
Jul 11, 2002
2,179
US
When a form gets posted, do the inputs alone (those in textboxes and selects, hiddens, etc) get passed, or can JavaScript variables get passed too?
 
Just the inputs.

If you want to "send variables," then just set the values of some hidden inputs to the values of the variables, submit, and grab them on the other side.

'hope that helps.

--Dave
 
Thanks, man. I was actually trying to study the anatomy of a post because I had to make one using straight text (it's a long story). Like you implied, it appears that only the values of the controls get passed with a request after the HTTP header.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top