Invalid Argument IE 8 jQuery
Posted
by Deshiknaves
on Stack Overflow
See other posts from Stack Overflow
or by Deshiknaves
Published on 2010-04-17T07:56:44Z
Indexed on
2010/04/17
8:03 UTC
Read the original article
Hit count: 503
Hi, I have this particular script that runs so that the flash elements don't show up on top of my slide out navigation. This redraws that flash element with wmode as opaque and so it shows up under the navigation. Works perfectly with Chrome and FireFox but not with IE. In IE I get an Invalid Argument in jquery.min.js code 0 Line 103 char 460. Can anyone help me as to why? If I comment out the second line of code inside the function then there is no error, but then doesn't work in FireFox. Any help is appriciated.
$(window).load(function(){
$('embed').attr('wmode','opaque');
$('object').append('<param name="wmode" value="opaque">');
$('object').wrap('<div>');
});
© Stack Overflow or respective owner