开发者

Destroy SWF DOM in swfupload

I am using swfupload for uploading files and I have this problem:

  1. In Internet Explorer, I have to use destroy(). Otherwise it crashes http:开发者_JAVA百科//demo.swfupload.org/Documentation/#destroy

  2. In Firefox, if I use destroy(), it crashes.

So the solution is to detect browser type and only destroy in Internet Explorer. Is it how it works? Or did I do something wrong? I mean is the destroy() function only for IE??


I know this is late but try wrapping the SWF in another element and destroy that element.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜