How to compare two DOMs or DOM nodes in general?

后端 未结 1 401
清酒与你
清酒与你 2020-12-10 16:17

I am using var win1 = open.window(...); var win2 = open.window(...); to open 2 tabs/windows in Firefox - now I want to compare the two DOMs (document object mod

相关标签:
1条回答
  • 2020-12-10 17:18

    I think what you are looking for is either:

    isEqualNode : http://help.dottoro.com/ljlpvjmd.php
    isSameNode : http://help.dottoro.com/ljqqqfft.php

    Hope this helps.

    0 讨论(0)
提交回复
热议问题