HTML page automatic loading method
example 1:
[code]Window.onload=function () Reference files (pictures, CSS style, JS, etc.)
}[/code]
example 2:
[code]$(document).Ready (function () {
alert. > if (.Quot; input.#91; name='message'.#93;.Quot;).Val ()! =.quot;.Quot;)
alert (input.#91; > > >);
[code].lt; html.gt;
.Lt; body onload=.quot; function1 (). Tion1 () {}
function2 () {}
function3 () {}
.lt; /script.gt;
the loading of 5-2:window.onload events (loading multiple functions at the same time when the page is loaded...) Ript.gt;
function1 () {}
function2 () {}
function3 () {}
window.onload=function () {