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


JAVASCRIPT DHTML TUTORIALS » Node Operation » text »

 

'text' Example



    
<html>
<body>
<script language="javascript">
function function1(){
    textRange = document.body.createTextRange();
    textRange.text = 'This is a test';
}
</script>
<button onclick="function1();">See Text in TextRange</button>
</body>
</html>

    
      
      



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Node Operation
» text