|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Converting POST to GET for form
I have a pull down select that submits a form based on the selected option. However, some of those forms are POST method some are GET. By default I have the form set to POST. Is it possible for me to access this variable in my javascript subroutine(form.method?) and convert it to GET before I do a form.submit? I'm not sure of the syntax to do this.
Thanks, Matt Last edited by hoopsbwc34 : August 6th, 2003 at 07:22 PM. |
|
#2
|
|||
|
|||
|
Yes, moron, stupid question. How do people like you survive in life? Don't waste our time on questions like this or people will start ignoring you.
I answered it in my post. I had a typo in my form.method so my first attempt failed. However, the idea was correct. To change the method used to submit a form just do: form.method='GET'; Please forgive my impatience. ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Converting POST to GET for form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|