My Blog List

Monday, November 5, 2012

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();
}

No comments:

Post a Comment