setStart (p1, 0); range2.setEnd(p1, p1.childNodes.length); Note that to select the node (using range1), you must first determine the index of the given node ...
確定! 回上一頁