Bug Tracker

Ticket #8998 (closed bug: cantfix)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

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

comment:1 follow-up: ↓ 2 Changed 4 years ago by timmywil

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

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 4 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.