Panel.setBody and SCRIPT tag
When I set the body of a panel to some HTML code that also contains
SCRIPT tags/blocks, something weird happens: the SCRIPT tags dissapear
in Internet Explorer. They work in Firefox, Opera, but IE fails by
eliminating the SCRIPT blocks.n
- I realized that it has something to do with setting innerHTML!
A temporary solution is that instead of SCRIPT, I'm using a normal DIV
tag, and then convert it to a SCRIPT element.
I have posted the solution at on my blog