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

length Property

Internet Development Index

Retrieves the number of characters in a TextNode object.

Syntax

[ iLength = ] TextNode.length

Possible Values

iLengthInteger that receives the number of characters.

The property is read-only. The property has no default value.

Example

This example uses the length property to specify where a TextNode is split using the splitText method.

<SCRIPT>
function fnChangeValue(){
var oListItem = document.createElement("LI");
oList.appendChild(oListItem);
var oNode = oList.firstChild.childNodes(0);
var oTextNode = oList.firstChild.childNodes(0);
var oSplit = oTextNode.splitText(oTextNode.length/2);
oListItem.appendChild(oSplit);
}
</SCRIPT>
<UL ID = oList onclick = "fnChangeValue()">
<LI>Start Here
</UL>

Standards Information

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

Applies To

TextNode
和顺县| 洛南县| 三明市| 柘荣县| 西青区| 新乡县| 沙坪坝区| 通化县| 扶沟县| 锦屏县| 宽甸| 杭锦旗| 瑞金市| 浏阳市| 叙永县| 丹寨县| 南溪县| 海南省| 南雄市| 鹤壁市| 德兴市| 长丰县| 平陆县| 福海县| 噶尔县| 达尔| 建水县| 潼南县| 将乐县| 孝义市| 泽普县| 崇阳县| 西丰县| 镇原县| 嵊州市| 前郭尔| 博爱县| 巩留县| 阳江市| 福清市| 思茅市|