The following function fails when running on IE 6 or IE 7, works fine
on FF
curContext = $('#mPreviewFrame')[0].contentWindow.document;
$('#mydiv',curContext).wrap('div id=myNewOuterDiv/div');
To isolate the problem I changed the 'curContext' to a div on the
current page and tested, and that
I tested some code in IE7 today and ran into a strange problem with the
jQuery .wrap method. I have narrowed it down to this function failing when
targeting a frame like this:
curContext = $('#mPreviewFrame')[0].contentWindow.document;
$('#mydiv',curContext).wrap('div id=myNewOuterDiv/div');
2 matches
Mail list logo