1. Add the following piece of code to the page body.

2.  Use body onload event

 

 

 

Categories: JavaScript

Leave a Reply

Your e-mail address will not be published. Required fields are marked *