Share this post! | Vote this! |
|
When a user visit your website, they do things like click on text and
images and given links, hover over things etc. These are examples of
what JavaScript calls events.
We can write our event handlers in Javascript of vbscript and can specify these event handlers as a value of event tag attribute. The XHTML 1.0 has a similar set of events which is available in HTML 4.01 specification.
more...
We can write our event handlers in Javascript of vbscript and can specify these event handlers as a value of event tag attribute. The XHTML 1.0 has a similar set of events which is available in HTML 4.01 specification.
<body> and <frameset> Level Events:
There are only two attributes which can be used to trigger any javascript or vbscript code when there is any event occurs on document level.Attribute | Value | Description |
---|---|---|
onload | script | Script runs when a XHTML document loads |
onunload | script | Script runs when a XHTML document unloads |
more...
0 comments:
Post a Comment