Skip to main content

Bug Tracker

Side navigation

#10519 closed bug (worksforme)

Opened October 18, 2011 10:43AM UTC

Closed October 30, 2011 12:17PM UTC

.live doesn't work in Opera when using $('[myAttribute]') selector

Reported by: Owned by:
Priority: low Milestone: None
Component: selector Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:

the following code reproduces the problem:



<script src=""></script>



<div myAttribute="">zxc</div>


$('[myAttribute]').live('click', function () {alert('qq');}); //this doesnt work in Opera (but works in FF/Chrome)

$('[myAttribute]').each(function () {alert('qq');}); this works

$('[myAttribute*=""]').live('click', function () {alert('qq';)}); //and this also works




Attachments (0)
Change History (3)

Changed October 19, 2011 04:20PM UTC by timmywil comment:1

component: unfiledselector
owner: →
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: Open the link and click to "Fork" (in the top menu) to get started.

Changed October 30, 2011 08:01AM UTC by comment:2

status: pendingnew

It's not reproducible with Edge version (but reproducible with 1.6.4), so the bug could be probably closed.

Here's the jsFiddle link (just for reference):

Changed October 30, 2011 12:17PM UTC by rwaldron comment:3

resolution: → worksforme
status: newclosed