Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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')">

©2018 Martin Webb