Hi,

I am building an HTA (using IE6) that is using jQuery to write some html to
a div. The html contains a script tag with content.

What (as I understand by reading through the minified code) jQuery does, is
filter the script tag, create one, add it to the head and remove it right
after. That *should* work very well, but for some reason in an HTA this very
last step fails: "head.removeChild(script);"

I have no clue why this is, but I checked it like this:
"alert(script.parentNode == head);" which returns false.

Solution: "script.parentNode.removeChild(script);". Since this doesn't
affect the correct behaviour in regular HTML pages, I propose this change
for future versions.

Cheers,
Paul

Reply via email to