4 ms·
The 'autorun Javascript' at the bottom would be better of in a directly run anonymous function to avoid polluting the global scope with an 'autorun' function. A
by huskyr 14y ago
The 'autorun Javascript' at the bottom would be better of in a directly run anonymous function to avoid polluting the global scope with an 'autorun' function. Also, the 'On page loaded' example is not really needed. Any Javascript included at the very last in the page will run automatically on 'page load'.
- TazeTSchnitzel 14y agoOP is not the creator of the site. You can email him here (from contact link at bottom of page): steve.niles@htmlshell.com