I have this code.
function loadBottom(dockitemid)
{
var itemno = dockitemid.substring(3,4);
var adres = pages[itemno - 1];
$("#BottomLoader").fadeIn(300);
$("#Bottom").load(adres,function(){$("#BottomLoader").fadeOut(800);});
}
The problem is it only works for the first time. Once the #Bottom div is loaded with some HTML, the load function still works but does not show the progress div (named #BottomLoader) anymore. Why is this happening?
thx in advance