Skip to main content

Bug Tracker

Side navigation

#4088 closed bug (worksforme)

Opened February 06, 2009 02:24PM UTC

Closed November 17, 2010 03:51AM UTC

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

Attachments (0)
Change History (2)

Changed November 17, 2010 01:20AM UTC by dmethvin comment:1

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

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

Changed November 17, 2010 03:51AM UTC by snover comment:2

resolution: → worksforme
status: newclosed

Test case works for me in IE6.