Bug Tracker

Opened 10 years ago

Closed 8 years ago

#4088 closed bug (worksforme)

IE6 win xp sp3, events, html manipulation

Reported by: kidskilla Owned by:
Priority: major Milestone: 1.3.2
Component: core Version: 1.3.1
Keywords: event winxp sp3 ie6 Cc:
Blocked by: Blocking:

Description

<script type="text/javascript"> var html = '<div id="x" onclick="alert('.')">123</div>'; $('#test').html(html); or $(html).appendTo('#test'); var x = $('#x')[0]; alert(typeof x.onclick); </script>

Results: MSIE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 and all _normal_ browsers function

MSIE 6.0.2900.5503.xpsp_sp3_qfe.080423-1303 string

this code: $('#test').html(html).find('#x').click(); throws an error in IE 6 on windows XP with sp3

Change History (2)

comment:1 Changed 8 years ago by dmethvin

http://jsfiddle.net/dmethvin/cKKSB/

There's the test case, but I don't have my IE6 vm handy.

comment:2 Changed 8 years ago by snover

Resolution: worksforme
Status: newclosed

Test case works for me in IE6.

Note: See TracTickets for help on using tickets.