Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

HTMLFormElement.method

 
概要

method は、 フォーム送信時に使用する HTTPメソッドを取得 / 設定する。

構文

string = form.method; //取得
form.method = string; //設定

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

仕様

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: fscholz, arunpandianp, ethertank, drry, Marsf, Mgjbot, Okome
 最終更新者: arunpandianp,