JavaScript DHTML/Node Operation/getAdjacentText

Материал из Web эксперт
Перейти к: навигация, поиск

"getAdjacentText()" Example

   <source lang="html4strict">
   

<html> <body>

This is some Adjacent Text example

<input type="button" value="Find text"

      onclick="alert(myBold.getAdjacentText("beforeBegin"));">

</body> </html>


     </source>