Bug Tracker

Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#9037 closed bug (fixed)

$('blah').attr('onclick') return event in Firefox

Reported by: anonymous Owned by:
Priority: low Milestone: 1.6
Component: attributes Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

Description

$('blah').attr('onclick') return event in Firefox and IE but in chrome they return the attribute.

i thing that in Firefox and IE it should return value of attribute instead of event

Change History (2)

comment:1 Changed 6 years ago by timmywil

  • Component changed from unfiled to attributes
  • Priority changed from undecided to low
  • Resolution set to fixed
  • Status changed from new to closed

Will consistently return the attribute in jQuery 1.6.

comment:2 Changed 6 years ago by timmywil

  • Milestone changed from 1.next to 1.6

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

Modify Ticket

Change Properties
Author


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

 
Note: See TracTickets for help on using tickets.