[jQuery] Re: event question

2008-04-23 Thread Ariel Flesler
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F -- Ariel Flesler http://flesler.blogspot.com On 23 abr, 10:12, Brian Ronk <[EMAIL PROTECTED]> wrote: > Hmmm...  That would work perfectly.  I'll take a look at it.  Thanks. > > On Apr 22, 4:

[jQuery] Re: event question

2008-04-23 Thread Brian Ronk
Hmmm... That would work perfectly. I'll take a look at it. Thanks. On Apr 22, 4:55 pm, "Jake McGraw" <[EMAIL PROTECTED]> wrote: > The default behavior: > > $(".classname").click(function(){ >   alert("Hello, world!"); > > }); > > $("body").append('Click Me!'); > > Clicking "Click Me!" would do

[jQuery] Re: event question

2008-04-22 Thread Jake McGraw
The default behavior: $(".classname").click(function(){ alert("Hello, world!"); }); $("body").append('Click Me!'); Clicking "Click Me!" would do nothing. Using the liveQuery plugin (http://brandonaaron.net/docs/livequery/): $(".classname").livequery("click", function(event) { alert("Hello