最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

ACTION Attribute | action Property

Internet Development Index

Sets or retrieves the URL to which the form content is sent for processing.

Syntax

HTML<ELEMENT ACTION = sURL... >
Scriptingobject.action [ = sURL ]

Possible Values

sURLString that specifies or receives the URL to use. If a relative path is specified, the base URL of the document is assumed.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The way the data is submitted depends on the value of the method and encoding properties.

Examples

This example uses the ACTION attribute to post a form to a specified URL.

<HTML>
<FORM ACTION="http://example.microsoft.com/sample.html"
METHOD="POST">
Enter your name: <INPUT NAME="FName"><BR>
Favorite Ice Cream Flavor:
<SELECT NAME="Flavor">
<OPTION VALUE="Chocolate">Chocolate
<OPTION VALUE="Strawberry">Strawberry
<OPTION VALUE="Vanilla" SELECTED>Vanilla
</SELECT>
<P><INPUT TYPE=SUBMIT>
</FORM>
</HTML>

This example uses the ACTION attribute to specify a URL for the mailto protocol.

<form ACTION="mailto:sales@widgets.com" method=GET>
<input name=subject type=hidden
value="Widget%20Product%20Information%20Request">
Enter your full mailing address<BR>
<TextArea name=body cols=40></textarea>
<input type=submit value="Send Request"
</form>

Standards Information

This property is defined in HTML 3.2 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

FORM, ISINDEX
历史| 湘西| 桦甸市| 雷州市| 铁岭市| 托里县| 汕头市| 亳州市| 芜湖市| 河西区| 南岸区| 遂溪县| 香港| 正镶白旗| 合阳县| 景德镇市| 安龙县| 丽江市| 隆昌县| 天峨县| 贞丰县| 大丰市| 平山县| 兴国县| 凌云县| 确山县| 西乌珠穆沁旗| 永春县| 华容县| 平舆县| 团风县| 谢通门县| 湟源县| 鹤山市| 嘉义市| 洛川县| 寿宁县| 图片| 西丰县| 钟祥市| 禹城市|