'outerText' Example : outerText : Node Operation JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Node Operation » outerText »

 

'outerText' Example



    
<html>
<body>
<p id="par">Text <b>Text </b>Text  <u>Text </u>.</p>
<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>

    
      
      



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Node Operation
» outerText