Operation Aborted in IE with jQuery and swfobject
It all started when we decided to replace prototype with jQuery on one of our projects. Everything worked like a charm until somebody decided to finally check how things are working in IE. Then shit hit the fan in a form of “Operation Aborted” error. Page started to load nicely, but in the moment of swfobject initialization – the funky error popped out. I really like and support the swfobject project, but obviously, IE hates those two. Luckily enough for us, guy called Luke Lutman made a jQuery Flash Plugin which successfully solved some of our problems. I say some, because using the packed version of jQuery still breaks ActiveX control activation in Internet Explorer. Solution is aether to patch jQuery, or to use uncompressed version. Damn you Eolas patent no. 5,838,906!
[photopress:swfobject_jquery_operation_aborted.jpg,full,pp_image]
3 thoughts on “Operation Aborted in IE with jQuery and swfobject”
June 25, 2007 at 19:01
Hello, maybe this Microsoft article could help you. It seems not to be a problem between jquery and SWObject, but a bug of IE playing with the DOM… I think that jQuery is the detonator to this bug because its ready event.
http://support.microsoft.com/?scid=kb%3Ben-us%3B927917&x=13&y=8
Best regards
June 27, 2007 at 09:46
Iker, thanks for the link. Aral Balkan found an interesting walkaround too. The secret is in using defer=defer in piece of javascript code which calls swfObject.
… script type=”text/javascript” defer=”defer” …