HTMLFormElement.method

La propriété HTMLFormElement.method représente la méthode HTTP utilisée pour soumettre un formulaire.

Syntaxe

string = form.method
form.method = string

Exemple

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

Spécification