Mozilla.com

  1. MDC
  2. Main Page
  3. DOM
  4. form.method
Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Example
  4. 4. Specification
Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Example
  4. 4. Specification

« Gecko DOM Reference

Summary

method gets/sets the HTTP method used to submit the form.

Syntax

string = form.method
form.method = string

Example

document.forms["myform"].method = "POST";
Languages

Page last modified 18:24, 14 Mar 2007 by Mgjbot

Files (0)