'appendData()' Example : appendData : Node Operation JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Node Operation » appendData »

 

'appendData()' Example



    
<html>
<body>
<p id="myP" class="explanations">Sample text.</p>
<script language="JavaScript">
function function1(){
    var m = myP.firstChild.appendData(" This is the added string.");
}
</script>
<input type="button" onClick="function1();" value="Append data">
</body>
</html>

    
      
      



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Node Operation
» appendData