Hi,
I wanted to use the selector :contains for Ajax responses, and, while it works perfectly in Firefox, in doesn't work in IE.
My guess is that Ajax responses don't have innerText set in IE (whereas in Firefox, they have textContent; I checked that).
The fix below works for me, for my specific case, but it is maybe too much intrusive, or not enough :
I'm changing this line :
contains: "(a.textContent
a.innerText | ).indexOf(m[3])>=0",
to :
contains: "(a.textContent | a.innerText | a.firstChild.nodeValue | ).indexOf(m[3])>=0",
I could setup a small testcase if you need it.
Attachments
Change History
Download in other formats:
|