Multiple onLoad commands in <body>

This is something I find myself looking to do every now and then. It’s not really good practice to take control of the end-user’s web experience, but if you need the code, here it is:

&lt;body onload="function#1();function#2();function#3();"&gt;&lt;/body&gt;

All you have to do is separate each function with a semi colon and you’re done.

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

 

Related Posts:
  • Edit multiple layers in Photoshop
  • Ironman Training Plan - Day #1
  • USB Remote Control MINI Cooper
  •  

    Leave a Reply