Re: [jQuery] FadeOut > Ajax Post > FadeIn problem

2009-12-12 Thread David Day
Oops! Make that... otherwise you get nested divs. $("#menuJ a").click(function(){ var js = $(this); $("#pageArticle").fadeOut(500, function() { $.post( js.attr("href"), null, function(response) { $("#pageArticle").html(response); $("#pageArticle").fadeIn(500); }, "html"); });

Re: [jQuery] FadeOut > Ajax Post > FadeIn problem

2009-12-12 Thread David Day
Thanks Brian The working script is as follows: $("#menuJ a").click(function(){ var js = $(this); $("#pageArticle").fadeOut(500, function() { $.post( js.attr("href"), null, function(response) { var bob = "" + response + ""; $("#pageArticle").html(bob); $("#pageArticle").f