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: |
Description
Sample Source
<html>
<head>
<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();
$('#a02').val(v);
$(this).val('xxx'); // not happen change event in FF,Chrome
});
});
</script>
</head>
<body>
<input id="a01" type="text" name="a01">
<input id="a02" type="text" name="a02">
</body>
</html>
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 comment:1
| resolution: | → duplicate |
|---|---|
| status: | new → closed |
Changed February 10, 2011 01:46AM UTC by comment:3
Changed April 18, 2011 12:44AM UTC by comment:4
Changed April 18, 2011 02:01AM UTC by comment:5
bubbled change event happend both .live and .change.
Changed November 08, 2011 04:36AM UTC by comment:6
It seemed to be improved in jQuery 1.7.