Home » JavaScript » JavaScript Events

JavaScript Events

onLoad  and  onunLoad

 

The onLoad event occurs immediately after a page or and image is loaded.

syntax    onLoad=”JavaScriptCode”

Support by the folowing HTML tags:  <body>,  <img>

Support by the folowing JavaScript object :  body,  image

The onunLoad event occurs when a user exits a page.

syntyax    onunload=”JavaScriptCode”

Support by the folowing HTML tags:  <body>,  <frameset>

Support by the folowing JavaScript object :  window

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© CoolBook.Info : The Learning of Website Development