window.onload

this is a part of javascript
after page being loaded window.onload will be called..


window.onload = init;

function init() {
document.getElementById('loading').style.display='none';
}

function loginSubmit(){
document.getElementById('button').style.display='none';
document.getElementById('loading').style.display='block';
document.forms["login"].submit();
}

Comments

Popular posts from this blog

Project euler 169 found clue

Floyd-Warshall's algorithm