Bug Tracker

Modify

Ticket #7674 (closed bug: duplicate)

Opened 2 years ago

Last modified 15 months ago

Onchange event fires twice

Reported by: jeff@… Owned by:
Priority: low Milestone: 1.5
Component: event Version: 1.4.4
Keywords: Cc:
Blocking: Blocked by:

Description

When I have, for exemple, a SELECT element with hard-coded onchange (inside the HTML tag), and if I add an additional function to run on change event (with the JQuery .change(function(){}) method), then the hard-coded function is run twice ...

Change History

comment:1 Changed 2 years ago by jitter

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

Thanks for taking the time to contribute to the jQuery project by writing a bug report!

I can't reproduce what you are describing with this  test case. So I guess there is some other problem in your code.

If you think this ticket was closed incorrectly, feel free to report back and submit a reduced test case, which reproduces the issue you are experiencing, on  http://jsfiddle.net.


 How to report bugs

comment:2 Changed 2 years ago by anonymous

I'm sorry, I should have specified that the bug occurs on Internet Explorer 8.

I used your test case and the bug is reproduced !!!

By the way, the HTML field on jsFiddle can not be edited on IE8 ...

comment:3 Changed 2 years ago by jitter

  • Status changed from closed to reopened
  • Resolution invalid deleted

comment:4 Changed 2 years ago by jitter

  • Priority changed from undecided to low
  • Resolution set to duplicate
  • Status changed from reopened to closed
  • Component changed from unfiled to event
  • Milestone changed from 1.next to 1.5

comment:5 Changed 2 years ago by jitter

Duplicate of #6593.

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.