Ticket #1243 (closed bug: invalid)
IE doesn't work with $('a[@text=sometext]').click()
|Reported by:||vokic||Owned by:|
|Keywords:||click, attribute, attr, selector, event||Cc:|
I do not know if someone already mention this, but while working on one application this kind of referencing links worked in FF but didn't work in IE.
Links were created like this: <a title="sometitle">sometext</a>
The solution is to name all links like this <a title="sometitle" name="somename">sometext</a> and then reference it using $('a[@name=somename]').click()
It works that way in IE and in FF...
PS: I hope that it was planned like that for @text=sometext and not just me doin' it wrong way :)