Hello all i was trying to hide/show a loading div but theres the problem: After the page loads the div appears again…Heres the code i’m using
<div id="LoadContent" style="visibility: visible">
Please wait while we check our databases....
<br/>
<img src="images/ajax-loader.gif" id="LoadImg">
</div>
document.getElementById('LoadContent').style.visibility = 'hidden';
add your javascript to
<body onload="">, that way it will hide your div when the page has finished rendering.css takes prescedence over javascript during rendering time, or rerender time.