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

NAME Attribute | name Property

Internet Development Index

Sets or retrieves the name of the object.

What's New for Microsoft® Internet Explorer 6

This property now applies to the attribute object.

Syntax

HTML<ELEMENT NAME = sName... >
Scriptingobject.name [ = sName ]

Possible Values

sNameString that specifies or receives the name.

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

When submitting a form, use the name property to bind the value of the control. The name is not the value displayed for the input type=button, input type=reset, and input type=submit input types. The internally stored value, not the displayed value, is the one submitted with the form.

Microsoft JScript® allows the name to be changed at run time. This does not cause the name in the programming model to change in the collection of elements, but it does change the name used for submitting elements.

The NAME attribute cannot be set at run time on elements dynamically created with the createElement method. To create an element with a name attribute, include the attribute and value when using the createElement method.

Examples

The following example shows how to set the NAME attribute on a dynamically created A element.

var oAnchor = document.createElement("<A NAME='AnchorName'></A>");

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

A, APPLET, attribute, BUTTON, EMBED, FORM, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, LINK, MAP, OBJECT, RT, RUBY, SELECT, TEXTAREA
泽州县| 潍坊市| 景德镇市| 揭阳市| 荃湾区| 绥棱县| 鹿邑县| 玛纳斯县| 大新县| 固原市| 大石桥市| 黑水县| 修水县| 唐海县| 勐海县| 同德县| 惠东县| 靖江市| 云和县| 保康县| 黄陵县| 广宗县| 新巴尔虎右旗| 潞西市| 启东市| 兴业县| 枞阳县| 巴中市| 黔东| 安阳市| 雷山县| 惠州市| 浮山县| 曲松县| 玉山县| 湟源县| 沙河市| 岳西县| 苗栗市| 永兴县| 金昌市|