Change form ACTION value from checkbox value
I've been trying to modify the form's ACTION= value based on the value of a checked checkbox.
What I want it to do is have the value of numerous checkboxes being a url, of say Google's search among one, and a text box that will send the query of the text box value to the value of the url that is checked using the GET method.
so far everthing I've tried that almost worked seemed to send the textbox value and checkbox value as parameters to the locallly saved page.
any suggestions. thanks.
|