Opened 12 years ago
Closed 12 years ago
#6198 closed bug (worksforme)
combined selector with live() in opera
Reported by: | walidaly | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | selector | Version: | 1.4.2 |
Keywords: | Cc: | [email protected]… | |
Blocked by: | Blocking: |
Description
$('a[req], :submit[req], li[req]').live('click', function(){ alert( $(this).attr('req') ); });
Error: CSS HTML style attribute Unknown pseudo class Line 1: a[req], :submit[req], li[req]
Attachments (1)
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Changed 12 years ago by
Attachment: | Capture-6198.PNG added |
---|
Capture of Opera console showing a *warning*.
Note: See
TracTickets for help on using
tickets.
This is the Opera version of #4774. Opera's querySelectorAll is being verbose and generating a *warning* to the console, not an error. Avoiding the error would mean avoiding querySelectorAll, which would be a huge performance hit.