Side navigation
#9637 closed bug (duplicate)
Opened June 21, 2011 03:58PM UTC
Closed July 12, 2011 04:15PM UTC
Last modified July 12, 2011 04:15PM UTC
$('[data-remote]').live doesn't work in Opera if data-remote attribute has no value
Reported by: | takandar@gmail.com | Owned by: | takandar@gmail.com |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | selector | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Reproduction steps:
Open any page with jQuery in any version of Opera.
Type in console:
document.body.innerHTML = "<span data-remote='true'>first</span><span data-remote>second</span>"; $('[data-remote]').click(function() { console.log('bind ' + this.innerHTML) }); $('[data-remote]').live('click', function() { console.log('live ' + this.innerHTML) }); $('span').trigger('click');
You see in console:
bind first live first bind second
You should see in console:
bind first live first bind second live second
Attachments (0)
Change History (8)
Changed June 21, 2011 04:08PM UTC by comment:1
component: | unfiled → selector |
---|---|
owner: | → takandar@gmail.com |
status: | new → pending |
Changed June 21, 2011 04:13PM UTC by comment:2
Thank you for answer.
Reduced jsFiddle test case: http://jsfiddle.net/morr/uVfRd/
Changed June 21, 2011 04:18PM UTC by comment:3
I added info and description
Changed July 06, 2011 08:04AM UTC by comment:4
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Changed July 06, 2011 06:48PM UTC by comment:5
hmmm i added jsFiddle test case and this bug wasn't fixed
i suppose you should reopen this ticket
Changed July 06, 2011 07:00PM UTC by comment:6
resolution: | invalid |
---|---|
status: | closed → reopened |
Changed July 12, 2011 04:15PM UTC by comment:7
resolution: | → duplicate |
---|---|
status: | reopened → closed |
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case 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, I've created this boilerplate: http://jsfiddle.net/rwaldron/da3nM/ Open the link and click to "Fork" in the top menu.