开发者

Destroy SWF DOM in swfupload

开发者 https://www.devze.com 2022-12-08 17:16 出处:网络
I am using swfupload for uploading files and I have this problem: In Internet Explorer, I have to use destroy(). Otherwise it crashes

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

精彩评论

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

关注公众号