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

removeNamedItem Method

Internet Development Index

Removes an attribute specified with the name property from an element using the attributes collection.

Syntax

newretNode = attributes.removeNamedItem(sName)

Parameters

sName Required. String that specifies the name of an attribute to remove.

Return Value

Returns an attribute removed from the document if successful, otherwise null.

Remarks

An attribute that is removed with this method reverts to the default value of the attribute when applicable.

Example

The following example shows how to use the this method to remove an attribute from an element.

<HTML>
<HEAD>
<SCRIPT>
function removeAttrib()
{
var oAttrColl = myDIV.attributes;
oAttrColl.removeNamedItem("TITLE");
}
</SCRIPT>
</HEAD>
<BODY>
<DIV onclick="removeAttrib();" ID="myDIV" TITLE="THIS IS A TOOLTIP">
Click this DIV and the ToolTip will be inactivated.</DIV>
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

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

Applies To

attributes
怀安县| 上思县| 和龙市| 湘西| 米易县| 虞城县| 方正县| 工布江达县| 嘉峪关市| 宜良县| 津南区| 明水县| 南投县| 布拖县| 卢龙县| 馆陶县| 皋兰县| 博客| 东方市| 灯塔市| 安溪县| 诏安县| 尚志市| 象州县| 漳浦县| 福州市| 鄂州市| 富源县| 肇源县| 卫辉市| 白银市| 双牌县| 沧源| 故城县| 韶山市| 盱眙县| 庐江县| 亳州市| 珠海市| 潞城市| 安多县|