[jQuery] Re: Code inside click() event not firing.

2009-08-14 Thread Patrick
James, yes. Dead on and I have it working now. The event delegation/event bubbling proved difficult as the event.target.id of the freshly loaded anchor tags didn't seem to be available to me (needed for show()ing the corresponding div). What did work was rebinding the event at the end of the aj

[jQuery] Re: Code inside click() event not firing.

2009-08-14 Thread Carlos Becar
james s correct you should use method delegation or plugins like listen or intercepted .. documetnation jqueryis the best ! -- Atte. Carlos Becar.

[jQuery] Re: Code inside click() event not firing.

2009-08-14 Thread Liam Potter
lol, niice. Ricardo wrote: wow On Aug 13, 10:56 pm, "Meroe" wrote: What if you change $("a").click(function () To $("#a").click(function () -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Patrick Sent: Thursday, Augu

[jQuery] Re: Code inside click() event not firing.

2009-08-14 Thread Ricardo
wow On Aug 13, 10:56 pm, "Meroe" wrote: > What if you change > >     $("a").click(function () > > To >     $("#a").click(function () > > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > Behalf Of Patrick > Sent: Thursday, August 13, 2009 2:

[jQuery] Re: Code inside click() event not firing.

2009-08-13 Thread Meroe
What if you change $("a").click(function () To $("#a").click(function () -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Patrick Sent: Thursday, August 13, 2009 2:16 PM To: jQuery (English) Subject: [jQuery] Code inside click(

[jQuery] Re: Code inside click() event not firing.

2009-08-13 Thread James
Are the tags that you're binding the click event to introduced into the DOM from the showHint AJAX request? If so, read this: Why do my events stop working after an AJAX request? http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F On Aug 13, 8