swfobject in Uploadify not working with IE 7 or 8 -
I am using Uploadify and have a pop up that is loaded by jQuery by Ajax. The page on which the popup remains is included in the swfobject (Google's API code) and the Uploadify button should appear.
It works great on FF and Chrome but IE gives me a Javascript error
unknown runtime error line 4 characters 5942
Has anyone got any idea to fix this problem?
This is probably what the fact is that I am using it from within dynamic content
I have found the following link but there is no definitive answer
Use the unpacked swfobject.js version. Go to line 435 in your unpack file and
el.outerHTML = '& lt; Object class = "clayed: D27CDB6E-AE6D-11cf-96B8-444553540000" '+ et +' & gt; '+ Cross +' & lt; / Object & gt; '; From
to
jQuery (el) .replaceWith ('& lt; Object ClassCode = "claused: D27CDB6E-AE6D-11cf-96B8-444553540000"' + Et + '>' + + par + '& lt; / object & gt;');
This will only work if you use jQuery ...
Comments
Post a Comment