When loading a html page using JQuery load, I also need to call another function after the html has been loaded in a div. Here is the code i am using.
$("#div").load("page.html", $('#file1').css('background','black'));
What happens is when the div is re-loaded it also removes the background color even though the code that changes the color is after the load. Any Ideas? Thanks.