'getAdjacentText()' Example : getAdjacentText : Node Operation JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Node Operation » getAdjacentText »

 

'getAdjacentText()' Example



    
<html>
<body>
<p>This is some <b id="myBold">Adjacent Text</b> example</p>
<input type="button" value="Find text" 
       onclick="alert(myBold.getAdjacentText('beforeBegin'));">
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Node Operation
» getAdjacentText