[jQuery] Dynamically removing an inline script block
You could also read in the file using Coldfusion or PHP and remove the
script block that way.
Senior Coldfusion Developer
Office: 877.707.5467 x865
From: firstname.lastname@example.org [mailto:email@example.com] On
Behalf Of Michael Geary
Sent: Thursday, January 04, 2007 4:30 PM
To: 'jQuery Discussion.'
Subject: Re: [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
code that has already been run, and it won't undo any DOM changes that the
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...