Hi, I'm not sure what i'm doing wrong. However, with this it works $("#About").click(function() { $("#content").load( "getthis.txt", function(){ $ ("#content").animate({opacity:"1"},2000);}) return false; });
But with this it doesn't: $("#About").click(function() { $.ajax({ url: "getthis.txt", succes: function(ddd){ $("#content").append(ddd); $("#content").animate({opacity:"1"},2000); } }) }); Anybody has a clue why? It tried with $.get as well. What is it that i'm doing wrong?