JavaScript DHTML/Node Operation/outerText

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

"outerText" Example

   <source lang="html4strict">
   

<html> <body>

Text Text Text Text .

<button id="myButton" onclick="function1();">Make Text Above Plain</button> <script language="javascript">

   function function1(){
       document.all.par.outerText = "Text Text Text."
       myButton.disabled = true;
   }

</script> </body> </html>


     </source>