Bug Tracker

Modify

Ticket #10519 (closed bug: worksforme)

Opened 20 months ago

Last modified 20 months ago

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

Reported by: artur.regs@… Owned by: artur.regs@…
Priority: low Milestone: None
Component: selector Version: 1.6.4
Keywords: Cc:
Blocking: Blocked by:

Description

the following code reproduces the problem:

<html>

<head>

<script src=" http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>

</head>

<body>

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

<script>

$('[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

</script>

</body>

</html>

Change History

comment:1 follow-up: ↓ 2 Changed 20 months ago by timmywil

  • Owner set to artur.regs@…
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to selector

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 20 months ago by artur.regs@…

  • Status changed from pending to new

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 20 months ago by rwaldron

  • Status changed from new to closed
  • Resolution set to worksforme

Confirmed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.