Skip to main content

Bug Tracker

Side navigation

#8998 closed bug (cantfix)

Opened April 28, 2011 08:10AM UTC

Closed April 28, 2011 04:11PM UTC

Last modified April 29, 2011 08:43AM UTC

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/

Attachments (0)
Change History (2)

Changed April 28, 2011 04:11PM UTC by timmywil comment:1

component: unfiledselector
priority: undecidedlow
resolution: → cantfix
status: newclosed

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.

Changed April 29, 2011 08:43AM UTC by anonymous comment:2

Replying to [comment:1 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 !