[jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Jamal Arbib
Hi, i m jamal, i taken to you to excuse my English. My probleme is : when i generate dynamaically the html , jquery event don't work. My script php index.php witch receiced a code html via ajax by another script recup.php like this : * Turquie Supprimer javascript:void(0) * the

Re: [jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Chris Domigan
Jamal, you need to rebind events to elements after updating them via ajax. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Jamal Arbib
Thank you for your help Chris ! I try this but it doesn't work. this is the html generated div id=mesenvies ul li span class=lib_voyageArgentine/span a href=javascript:void(0) title=1envie class=del_voyageSupprimer/a /li li span

Re: [jQuery] jquery applies to code HTML generates dynamically

2007-03-07 Thread Jamal Arbib
It's ok. It 's nice when it works. Thank you Chris your precious help. //gestion autres voyages : on affiche le formulaire et les voyage $(#envies_voyages).click( function(){ $(#vip_affichage).html(); $(#vip_affichage_voyages).css(display,none);