outersky
9 Aug 2007, 2:32 AM
I have a page with some java applets.
then Ext will not run correctly.
because you can not test whether applet has the function or property like:
if( applet.function ) applet.function();
so I add another condition when invoke el.insertAdjacentHTML,
because Firefox think that applet as 'function' .
if(el && (typeof el == "object") && el.insertAdjacentHTML){
it's now ok!
But I think it's not a good way to resolve it.
then Ext will not run correctly.
because you can not test whether applet has the function or property like:
if( applet.function ) applet.function();
so I add another condition when invoke el.insertAdjacentHTML,
because Firefox think that applet as 'function' .
if(el && (typeof el == "object") && el.insertAdjacentHTML){
it's now ok!
But I think it's not a good way to resolve it.