[jQuery] Re: using click() with $(event.target).is(something)

2008-09-22 Thread Andy Matthews
If the click event for button A happens after the page load, then you'll need to rebind the event for button A in button b's success block. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of light-blue Sent: Monday, September 22, 2008 3:24 PM To:

[jQuery] Re: using click() with $(event.target).is(something)

2008-09-22 Thread Eric
Code samples would be really helpful here. I'm assuming that you've already attached a function to the Click event on Button B? $('.buttonB').click( ...some function to attach...); Because, unless you've done that, then running .click() isn't going to have much effect. Can you explain your

[jQuery] Re: using click() with $(event.target).is(something)

2008-09-22 Thread light-blue
I think Andy might be correct about the binding issue. Since I'm relatively new to jquery, I'm likely missing something basic. Below is code sample... // $Id$ // Global killswitch if (Drupal.jsEnabled) { $(document).ready(function(){ $('body').click(function(event) {