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


JAVASCRIPT DHTML TUTORIALS » Node Operation » isEqual »

 

'isEqual()' Example



    
<html>
<body>
<script language="JavaScript">
function function1(){
    var myRange1 = document.body.createTextRange();
    var myRange2 = myRange1.duplicate();
    alert(myRange1.isEqual(myRange2))

</script>
<p>This is some sample range used in comparison</p>
<button onclick="function1();">IsEqual</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
» isEqual