Bug Tracker

Modify

Ticket #9037 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

$('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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by timmywil

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

Will consistently return the attribute in jQuery 1.6.

comment:2 Changed 3 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.

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.