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

removeChild Method

Internet Development Index

Removes a child node from the object.

What's New for Microsoft® Internet Explorer 6

This method now applies to the attribute object.

Syntax

oRemove = object.removeChild(oNode)

Parameters

oNode Required. Object爐hat specifies the element to be removed from the document.

Return Value

Returns a reference to the object that is removed.

Remarks

The node to be removed must be an immediate child of the parent object.

This method is accessible at run time. If elements are removed at run time, before the closing tag is parsed, areas of the document might not render.

Example

This example uses the removeChild method to remove a bold element from a div.

<HEAD>
<SCRIPT>
function removeElement()
{
try
{
//The first child of the div is the bold element.
var oChild=Div1.children(0);
Div1.removeChild(oChild);
}
catch(x)
{
alert("You have already removed the bold element.
Page will be refreshed when you click OK.")
document.location.reload();
}
}
</SCRIPT>
</HEAD>
<BODY>
<DIV ID=Div1 onclick="removeElement()">
Click anywhere in this sentence to remove this <B>Bold</B> word.
</DIV>
</BODY>

Standards Information

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

Applies To

A, ACRONYM, ADDRESS, attribute, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, FRAMESET, HEAD, hn, HTML, I, IFRAME, 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, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, nextID, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
漳平市| 个旧市| 上饶县| 余干县| 广安市| 丰原市| 东乌珠穆沁旗| 邵武市| 余姚市| 鄂托克旗| 琼海市| 夹江县| 岳普湖县| 靖西县| 靖安县| 麦盖提县| 辽源市| 祁东县| 汾阳市| 辽宁省| 思南县| 晋州市| 绥棱县| 吉林市| 霍山县| 紫金县| 通江县| 宁陵县| 抚顺市| 黔西县| 洞头县| 任丘市| 南华县| 棋牌| 垣曲县| 响水县| 清苑县| 绥滨县| 克拉玛依市| 昌乐县| 辰溪县|