tags:

views:

43

answers:

1

I am looking at: CoolInput, but I need a destroy method.

I want to be able to do something like this:

$('#manualhint2').coolinput('foobar');

but I also need a method like:

$('#manualhint2').coolinput(destroy);  

or something like that, because there are times when I need to disable CoolInput.

Can somebody please help me?
Or, you can also recommend another jquery hint library that has a destroy method.

Thanks!

+1  A: 

Have you tried

$('#manualhint2').coolinput(''); 

?

bobsoap
that makes sense! why didn't i think of it? >_<
geff_chang
Glad it worked. Sometimes you just stare at something and completely miss the obvious. I believe they call it "not seeing the wood for the trees". I know this from personal experience.
bobsoap