Bug Tracker

Opened 11 years ago

Closed 11 years ago

#10519 closed bug (worksforme)

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

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


the following code reproduces the problem:



<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></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




Change History (3)

comment:1 Changed 11 years ago by timmywil

Component: unfiledselector
Owner: set to [email protected]
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: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 in reply to:  1 Changed 11 years ago by [email protected]

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): http://jsfiddle.net/Y7GXL/3/

comment:3 Changed 11 years ago by Rick Waldron

Resolution: worksforme
Status: newclosed


Note: See TracTickets for help on using tickets.