I believe you have to reattach the animate call after the AJAX load. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of JQuery - SimDigital
Sent: Tuesday, March 13, 2007 3:14 PM
To: jQuery Discussion.
Subject: [jQuery] Why jQuery Effects doesn't work after load ajax data?

I send POST params to another script and when it bring back, the effects
doesn't work.

My code:

 >> index.php <<
etc...
$(".business").click(function(){
        $(".info").slideDown("fast");
        $(".info").load('http://localhost/modules/esas/info.php);
}
$(".phone").click(function(){
        $(".info").slideUp("fast");
}
etc...
<div class="business">Company XYZ</div>
<div class="info"></div>


 >>info.php
<div class="phone">555-5555</div>


When the info.php is loaded, the div "phone" doesn't animate. :-( How to
solve this?

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to