I am using the .load function to load in another page using jQuery.
Here is my code:
$('#page1').click(function(){
$("#content").load("page1.html");
});
It's working great, but I would like to fade in the new page. Is there anyway I can combine the load and fadeIn function? I attempted it, but it's not working.
Here is my attempt:
$('#page1').click(function(){
$("#content").load("page1.html").fadeIn("normal");
});
How can I combine the .load and .fadeIn function?