[jQuery] Re: Remove script

2008-04-08 Thread hj
On Apr 7, 3:17 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > You'll need a record of every function and variable that a script > defines. Perhaps a function that does the "clean up". For instance > (untested): > > var blah = 3; > var blahblah = { 'f': 12 }; > > function aFunc() { }; > function aF

[jQuery] Re: Remove script

2008-04-07 Thread Karl Rudd
You'll need a record of every function and variable that a script defines. Perhaps a function that does the "clean up". For instance (untested): var blah = 3; var blahblah = { 'f': 12 }; function aFunc() { }; function aFunc2() { } function cleanUp() { blah = undefined; blahblah = undefined;

[jQuery] Re: Remove script

2008-04-07 Thread Virendra
i want to remove all the functions and variables that the script defines. On Apr 4, 12:08 am, hj <[EMAIL PROTECTED]> wrote: > > I have added a js file in my html file. > > > > > I want to remove the script from my file using jQuery. > > I have tried using the following > > jQuery('scrip

[jQuery] Re: Remove script

2008-04-07 Thread Virendra
i want to remove all the functions and variables that the script defines. On Apr 4, 12:08 am, hj <[EMAIL PROTECTED]> wrote: > > I have added a js file in my html file. > > > > > I want to remove the script from my file using jQuery. > > I have tried using the following > > jQuery('scrip

[jQuery] Re: Remove script

2008-04-03 Thread hj
> I have added a js file in my html file. > > > I want to remove the script from my file using jQuery. > I have tried using the following > jQuery('script[src="test.js"]').remove(); > But the script is not getting removed. Do you want to remove the script, or the functions and variables