javascript FORM method

methodNN 2 IE 3 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


  • #1
    2009-05-16
    [Quote]
    Have a nice day. From http://www.genstkobr.com
854,Nickname,Homepage or email,Comments here,Add comment