[jQuery] Re: Disable a link temporarily

2009-02-09 Thread rob303
Thank you for the replies. I like the toggle idea. It's simple and it works. Cheers, Rob. On Feb 7, 11:35 am, donb wrote: > Rather than bindin/unbinding events, why not put a hidden (or > tag of your choice) there with the same text, then toggle between > them: > > $("a, label").toggle(); >

[jQuery] Re: Disable a link temporarily

2009-02-07 Thread donb
Rather than bindin/unbinding events, why not put a hidden (or tag of your choice) there with the same text, then toggle between them: $("a, label").toggle(); Show the anchor or show the label. On Feb 7, 6:07 am, jQuery Lover wrote: > > $('a.show_reset_pass_box').unbind('click'); > > This li

[jQuery] Re: Disable a link temporarily

2009-02-07 Thread jQuery Lover
> $('a.show_reset_pass_box').unbind('click'); This line is unbinding ALL click events. So the second click binding function is not fired, since it's not bound... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Feb 7, 2009 at 2:48 PM, rob303 wrote: > > Hi, > > Thi