'insertData()' Example : insertData : Javascript Methods : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
JavaScript Reference Home »  Javascript Methods   » [  insertData  ]   
 



'insertData()' Example

    
<html>
<body>
<script language="JavaScript">
function function1() {
    var m = document.getElementById("myP").firstChild;
    m.insertData(10'INSERTED TEXT')}
</script>
<p id="myP">Sample text paragraph</p>
<input type="button" value="InsertData" onclick="function1();">
</body>
</html>

    
      
      
Related examples in the same category
1.  'insertData()' Syntax, Parameters and Note
2.  'insertData()' is applied to








Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.