Visit Mozilla.org

DOM:form.method

From MDC

(Redirected from method)

« Gecko DOM Reference

Contents

[edit] Summary

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

[edit] Syntax

string = form.method
form.method = string

[edit] Example

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

[edit] Specification

DOM Level 2 HTML: method