diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
| commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
| tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/htmlformelement/action | |
| parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
| download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip | |
initial commit
Diffstat (limited to 'files/ja/web/api/htmlformelement/action')
| -rw-r--r-- | files/ja/web/api/htmlformelement/action/index.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/files/ja/web/api/htmlformelement/action/index.html b/files/ja/web/api/htmlformelement/action/index.html new file mode 100644 index 0000000000..5f9a231b02 --- /dev/null +++ b/files/ja/web/api/htmlformelement/action/index.html @@ -0,0 +1,30 @@ +--- +title: HTMLFormElement.action +slug: Web/API/HTMLFormElement/action +tags: + - DOM + - Forms + - Reference +translation_of: Web/API/HTMLFormElement/action +--- +<h2 id="Summary" name="Summary">概要</h2> +<p>{{HTMLElement("form")}} 要素の action を取得 / 設定します。</p> +<h2 id="Syntax" name="Syntax">構文</h2> +<pre class="syntaxbox"><var>string</var> = form.action; //取得 +form.action = <var>string</var>; //設定 +</pre> + + +<h2 id="Example" name="Example">例</h2> +<pre class="brush:js">form.action = "/cgi-bin/publish";</pre> + + +<h2 id="Notes" name="Notes">注記</h2> +<p>フォームの action はフォームが投稿されたときサーバ上で実行されるプログラムです。このプロパティは読み書きともに可能です。</p> + + +<h2 id="Specification" name="Specification">仕様</h2> +<ul> + <li><a href="http://www.w3.org/TR/html5/association-of-controls-and-forms.html#dom-fs-method" title="http://www.w3.org/TR/html5/association-of-controls-and-forms.html#dom-fs-method">HTML 5, Section 4.10.19.6, Form submission</a></li> + <li><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-74049184">DOM Level 2 HTML: action</a></li> +</ul> |
