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.action

概要

<form> 要素の action を取得 / 設定します。

構文

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

form.action = "/cgi-bin/publish";

注記

フォームの action はフォームが投稿されたときサーバ上で実行されるプログラムです。このプロパティは読み書きともに可能です。

仕様

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

 このページの貢献者: fscholz, ethertank, Mgjbot, Okome
 最終更新者: ethertank,