Different results selecting HTML elements with XPath in Firefox and Internet Explorer

后端 未结 10 812
-上瘾入骨i
-上瘾入骨i 2021-01-18 10:34

I\'m trying to select a specific HTML element in a document, for firefox i just use:

xpathobj = document.evaluate(xpath, document, null,
               XPath         


        
10条回答
  •  天命终不由人
    2021-01-18 11:17

    Another JavaScript implementation of W3C Dom Level 3 XPath can be found on Source Forge. But does not appear to be active.

提交回复
热议问题