lots of code take some code, share some code!

Onloading functions



A cool way of onloading functions in javascript can be done like so.

window.onload = function()
{
callFunctionOne();
callFunctionTwo();
// Etc
}

Leave a Reply

 
 
Please enter the word above into the box below, the word is not case sensitive.
 
If you have trouble reading the word above then click here to load a new word.
Security word: