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


JAVASCRIPT DHTML TUTORIALS » Node Operation » deleteData »

 

'deleteData()' Example



    
<html>
<body>
<script language="JavaScript">
function function1() {
   var m = document.createTextNode("This is the text.");
   var n = myP.firstChild.replaceNode(m);
   m.deleteData(510)

</script>
<p id="myP">Sample text.</p>
<input type="button" value="Remove data" onclick="function1();">
</body>
</html>

    
      
      



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Node Operation
» deleteData