Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#8998 closed bug (cantfix)

Starts With Selector does not work under IE7

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:

Description

When trying to select a button based on onclick property IE7 fails to find the button

Works OK with FF 3.5.7

example : http://jsfiddle.net/RbpUh/

Change History (2)

comment:1 follow-up: Changed 6 years ago by timmywil

  • Component changed from unfiled to selector
  • Priority changed from undecided to low
  • Resolution set to cantfix
  • Status changed from new to closed

The selector is working correctly. http://jsfiddle.net/timmywil/RbpUh/2/ IE7 automatically wraps the onclick in an anonymous function. This is something we can't change. The *= attribute selector would work for you, but I recommend not doing selectors containing inline event handlers, nor doing inline event handlers at all.

comment:2 in reply to: ↑ 1 Changed 6 years ago by anonymous

Replying to timmywil:

The selector is working correctly. http://jsfiddle.net/timmywil/RbpUh/2/ IE7 automatically wraps the onclick in an anonymous function. This is something we can't change. The *= attribute selector would work for you, but I recommend not doing selectors containing inline event handlers, nor doing inline event handlers at all.

Thank you for the advice, I found a workaround for it. Thanks a lot for the fast reply !

Note: See TracTickets for help on using tickets.