[jQuery] Re: Problem controlling links of appended html

2009-09-27 Thread Flo
Hello, You should try to launch your new jQuery behaviour in a separate function like this : ... { $("#main_area").append(""); behaviourOnNewElements(); } function behaviourOnNewElements() { $(".pics a").click(function(event){ return null;

[jQuery] Re: Problem controlling links of appended html

2009-09-26 Thread Charlie
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F ximo wallas wrote: Hi there, I'm appending some divs with a thumbnail to an existing div called "main_area" and i would like to take controll of the append