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

JavaScript Reference
C++
PHP


JavaScript Reference  »  Javascript Methods   » [  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>

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
























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