I want to change the background color of \'exampleDiv\' from the original white background to when I call the code below to immediate change the background yellow and then f
The jQuery UI has a highlight effect that does exactly what you want.
$("exampleDiv").effect("highlight", {}, 5000);
You do have some options like changing the highlight colour.