[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-10-06 Thread Will
an example of the use : http://w.rouvre.free.fr : )

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-27 Thread Willy ROUVRE
thanks a lot Ariel

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-26 Thread Ariel Flesler
http://docs.jquery.com/FAQ#Why_do_my_events_stop_working_after_an_AJAX_request.3F -- Ariel Flesler http://flesler.blogspot.com On Aug 26, 12:43 pm, Will <[EMAIL PROTECTED]> wrote: > Ok Diego, I found a plugin wich works perfectly : > "jquery live_bind" > > an example of use : > > $.live_bind("a.

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Ok Diego, I found a plugin wich works perfectly : "jquery live_bind" an example of use : $.live_bind("a.popup_link", 'click', function(){ $("#"+popup+"_popup").css("margin-left","-"+ (width.substr(0,width.length - 2) / 2)+"px"); $("#"+popup+"_popup").fadeIn("slow"

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-26 Thread Paul Mills
Hi, I think you need to put the code for the second alert into the callback function of the load(). So event.js should look something like this: $(document).ready(function() { // to load the content.html $("a#b1").click( function() { $("#c").load("content.html",fu