Re: [jQuery] Problem with jQuery and AJAX

2009-12-23 Thread John Arrowwood
I think the problem here is that you are destroying and then re-creating the elements. When you destroy the element, you lose all of the event handlers that you had associated with them. Try changing to: jQuery('#login').live('click',function... And see if that doesn't solve your problem. On

[jQuery] Problem with jQuery and AJAX

2009-12-23 Thread Muaz
Hello I have this problem I am facing for past couple of days. I am using the following jQuery code jQuery(document).ready(function(){ jQuery("#login").click(function(){ jQuery("#logbox").slideToggle("slow"); }