Javascript Reference
Categories: FORM

javascript FORM method

@March 15, 2008, 1:22 a.m.
methodFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

Read/Write  

Forms may be submitted via two possible HTTP methods: get and post. These methods determine whether the form element data is sent to the server appended to the action attribute URL (get) or as a transaction message body (post). In practice, when the action and method attributes are not assigned in a form element, the form performs an unconditional reload of the same document, restoring form controls to their default values. Note that the method property is read-only in Internet Explorer 3.

 
Example
 
document.entryForm.method = "post";
 
Value

Either of the following constant values as a string: get | post.

 
Default

get

To the gakaa.com admin, Excellent work!
Wyatt Gowrie - 1 weeks
Have a nice day. From http://www.genstkobr.com
Uttemiaweda - 2009-05-16

Powered by Linode.