Statistics
The Highest Post







Statistics
Count 94
Avg 21.00
Min 21
Max 21
Angualr Top questions

Details



Client Script Types ) onLoad() Scripts An onLoad() script runs when a form is first drawn and before control is given to the user to begin typing. Typically, you use an onLoad() script to perform some client-side manipulation of the document on screen. An onLoad() script must contain a function named onLoad(). Otherwise, it is entirely up to you what your script does after it gets to the client. For example, here is a trivial onLoad() script that displays a message box that says "Loading ..." while the page loads. function onLoad() { alert('Loading ...'); }
Related Topics