JavaScript DHTML/Node Operation/htmlText

Материал из Web эксперт
Версия от 10:25, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"htmlText" Example

   <source lang="html4strict">
   

<html> <head> <script language="JScript"> function function1() {

   var b = document.all.tags("input");
   alert(b[0].createTextRange().htmlText);

} </script> </head> <body topmargin="50" leftmargin="100"> <input type="button" value="Click here" onclick="function1();"> </body> </html>


     </source>