Or can do
var yoda = function() { my click action } ;
//onload
$('#mydiv').bind("click", yoda);
//whenever
$('#mydiv').unbind("click", yoda);
> You should just be able to say
>
> $('#mydiv').unclick(myfunction)
>
> Brandon
>
> On 9/7/06, Sam <[EMAIL PROTECTED]> wrote:
>
>> Once a handler is assigned
>>
>> $('#mydiv').click(myfunction);
>>
>> How can I remove the event handler at a later time?
>>
>> Sam
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>>
>>
>>
>>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/