Bug Tracker

Ticket #1243 (closed bug: invalid)

Opened 2 years ago

Last modified 1 year ago

IE doesn't work with $('a[@text=sometext]').click()

Reported by: vokic Assigned to: anonymous
Type: bug Priority: trivial
Milestone: 1.1.3 Component: core
Version: 1.1.2 Keywords: click, attribute, attr, selector, event
Cc: Needs: Review

Description

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 :)

Attachments

Change History

Note: See TracTickets for help on using tickets.