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

codefights smooth sailing ( CommonCharacterCount)

How to remove 8443 port in URL in tomcat