[Passing form data in URL using post method] - Computers



Search Tech-Forums - link takes you to our Forum's search page.

Note: The following is only a text archive!


To view the actual forum discussion, please visit our website at http://www.tech-forums.net

Pages:1



Passing form data in URL using post method

(Click here to view the original thread with full colors/images)



Posted by: Allex

Hi all,

I am trying to pass data from a form field (to help adsense target ads) and I am running into a wall. I know it should not be that hard and there should be a script that can help.

Anyway, here's the scoop. Normal form, using the POST method. I just want to take a form field (which will be the name of a state) and add it into the URL when the user clicks on submit.

Anyone have any pointers or examples? Thank you in advance.



Posted by: office politics

[url]http://www.itc.virginia.edu/atg/software/javascript/change-action.html[/url]

dynamically change the form's action attribute to pass a GET value

action=/index.html?state=delaware





vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited.


PPC Management
vB Easy Archive Final - Created by Xenon