Hello,

I noticed that after an ajax call, my jquery no longer works. After some
research I realized I had to use either the livequery plugin or the live
event provided out of the box by jquery 1.3.x.
However,  the live event used as follows does not work i.e.
cacherFormulaireInscription does not work after partial dom update has been
performed on the page:

*jQuery(document).ready(function(){
    jQuery("a.montrerFormulaireInscription").live("click", function(){
        jQuery("div.formulaireInscription").fadeIn("slow");
    });
    jQuery("a.cacherFormulaireInscription").live("click",function(){
        jQuery("div.formulaireInscription").fadeOut("slow");
    });
});

**<div class="formulaireInscription">*
***</div>*
***
*
*<a href="" class="montrerFormulaireInscription">Newsletter</a>
<a href="" class="cacherFormulaireInscription">Fermer</a>
*

Can anyone please help?

Thanks in advance,

J.

Reply via email to