[jQuery] Dynamically removing an inline script block

[jQuery] Dynamically removing an inline script block

That would remove all script tags, but it sounds like that won't help.
Removing a script tag is just a memory optimization - it may free up the
memory that the script's source code took. It won't unexecute the JavaScript
code that has already been run, and it won't undo any DOM changes that the
code made.
There are several ways to delete the DOM nodes that COOLjsTree inserted, of
course - I wouldn't know which to suggest without seeing the page. The real
question may be whether the COOLjsTree code will freak out if you remove its
DOM nodes behind its back.
Or I may have misunderstood the problem...
-Mike









    • Topic Participants

    • mike