aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmlformelement/method
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/htmlformelement/method')
-rw-r--r--files/ja/web/api/htmlformelement/method/index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/files/ja/web/api/htmlformelement/method/index.html b/files/ja/web/api/htmlformelement/method/index.html
new file mode 100644
index 0000000000..3a92078c96
--- /dev/null
+++ b/files/ja/web/api/htmlformelement/method/index.html
@@ -0,0 +1,29 @@
+---
+title: HTMLFormElement.method
+slug: Web/API/HTMLFormElement/method
+tags:
+ - DOM
+ - Gecko
+ - Gecko DOM Reference
+translation_of: Web/API/HTMLFormElement/method
+---
+<div>
+ {{APIRef}}</div>
+<div>
+  </div>
+<div>
+ <span style="font-size: 2.14285714285714rem; font-weight: 700; letter-spacing: -1px; line-height: 30px;">概要</span></div>
+<p><code>method</code> は、 フォーム送信時に使用する HTTPメソッドを取得 / 設定する。</p>
+<h2 id="Syntax" name="Syntax">構文</h2>
+<pre class="syntaxbox"><var>string</var> = form.method; //取得
+form.method = <var>string</var>; //設定
+</pre>
+<h2 id="Example" name="Example">例</h2>
+<pre class="brush:js">var myform = document.forms["myform"];
+
+myform.method = "post";
+</pre>
+<h2 id="Specification" name="Specification">仕様</h2>
+<ul>
+ <li><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-82545539">DOM Level 2 HTML: method</a></li>
+</ul>