You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
Super late here... I attempted to replicate this issue but was unable to. Heres the code I used.
<textarea rows="4" cols="50">
At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
<input type="button" onclick="doEval()" value="evaluate">
<script type="text/javascript">
wgxpath.install(window, true);
function doEval() {
console.log(document.evaluate);
console.log(document.evaluate(
"//textarea[contains(.,'At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.')]",
document.documentElement,
null,
XPathResult.FIRST_ORDERED_NODE_TYPE,
null
).singleNodeValue);
}
</script>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I changed the value of the textarea tag on W3School [1]. After that, I try to evaluate textarea's xpath [2] on W3School [1] on IE but it doesn't work!
I have tried that xpath on Firefox, Chrome and it works fine.
[1] : http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_textarea
[2] : //textarea[contains(.,'At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.')]
The text was updated successfully, but these errors were encountered: