Skip to main content

Bug Tracker

Side navigation

#7766 closed bug (duplicate)

Opened December 13, 2010 04:39PM UTC

Closed December 13, 2010 04:51PM UTC

Last modified November 08, 2011 04:36AM UTC

Change Event execute twice in IE8/IE7

Reported by: seeds Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Sample Source

  <script type="text/javascript" src="js/jquery-1.4.4.js"></script>
  <script type="text/javascript">
$(document).ready(function() {
$('#a01').live('change', function() {
/// $('#a01').change(function() {
 var v = $(this).val();
 $(this).val('xxx'); // not happen change event in FF,Chrome
    <input id="a01" type="text" name="a01">
    <input id="a02" type="text" name="a02">

input "zzz" to #a01.

  • results(FireFox,Chrome): #a01 = xxx, #a02 = zzz
  • results(IE8,IE7): #a01 = xxx, #a02 = xxx
Attachments (0)
Change History (6)

Changed December 13, 2010 04:51PM UTC by rwaldron comment:1

resolution: → duplicate
status: newclosed

Changed December 13, 2010 04:51PM UTC by rwaldron comment:2

Duplicate of #5997.

Changed February 10, 2011 01:46AM UTC by anonymous comment:3

Replying to [comment:2 rwaldron]:

Duplicate of #5997.

I do not think this is a duplicate of #5997.

Changed April 18, 2011 12:44AM UTC by seeds comment:4

It seems to be different from #5997.

jQuery 1.5.1 still has this bug.

Changed April 18, 2011 02:01AM UTC by seeds comment:5

bubbled change event happend both .live and .change.

Changed November 08, 2011 04:36AM UTC by anonymous comment:6

It seemed to be improved in jQuery 1.7.