HomeArticlesFAQsXREFGamesSoftwareInstantBooksBBSAboutFOLDOCRFCsFeedbackSearchSite-Map
logo

Q167 Is there any way that I can have multiple onLoads in my body statement?

You are here: irt.org | FAQ | JavaScript | Document | Q167 [ previous next ]

Basically you need to separate your statements with a semi-colon:

<BODY onLoad="statement1;statement2;statement3">

For example:

<BODY onLoad="alert('Hello');alert('World')">

©2011 Martin Webb