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


JAVASCRIPT DHTML TUTORIALS » Node Operation » mergeAttributes »

 

'mergeAttributes()' Example



    
<html>
<body>
<script language="JavaScript">
function function1(){
    myDiv2.mergeAttributes(myDiv1);
}
</script>
<div id="myDiv1" style="border:solid blue 2px; width:600; height:200;">
www.navioo.com
</div>
<div id="myDiv2">www.navioo.com</div>
<button onclick="function1();">Merge attributes</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
» mergeAttributes