This should be done using $(this).unbind(event,function).
I don't know from your example how your handle the event so I cannot
give you a more specific answer.

On Feb 13, 7:57 pm, "Rick Faircloth" <r...@whitestonemedia.com> wrote:
> Strange question, perhaps...but...
>
> If I have an element that has an function from a plug-in
> attached to it, such as:
>
> $(function() {
>         $('#myTextarea').expandable();
>
> });
>
> How would I then be able to make #myTextarea "not .expandable"...
>
> $('#myTextarea').expandable('disable'); ...
>
> Is this something that can be controlled from the page code, or
> does something have to be built into the plug-in to allow this?
>
> Thanks,
>
> Rick

Reply via email to