I saw this, but that page only tells you how to unbind a specific function that you know in advance. This code ...
$('.cancelAction').unbind('click', function(){} ); does not work for me as far as being able to cancel all the onclick actions associated with an element. Any other suggestions are welcomed, - Dave On Dec 15, 3:07 pm, "T.J. Simmons" <theimmortal...@gmail.com> wrote: > Try $("#id").unbind("click"); > > I've never used it before, but according > tohttp://docs.jquery.com/Events/unbind#typefn > that oughta do the job pretty nicely. > > - T.J. > > On Dec 15, 3:38 pm, "laredotorn...@zipmail.com" > > <laredotorn...@zipmail.com> wrote: > > Hi, > > > I'm using JQuery 1.3. I have a button and I want to completely clear > > it of any onclick events associated with it so that clicking it will > > do absolutely nothing. If I know the ID of the button, how do I do > > this? > > > Thanks, - Dave