Sponsors

Web Designer? Design and market your own professional website with easy-to-use tools.

Compare, review and buy thousands of Laptops , software products at CheckCost.co.uk

Your Text Link Here! and your text description here!

Javascript events

An event is a user action such as the clicking of the mouse, pressing a keyboard key, moving the cursor over an element and more that can be detected by javascript. Javascript allows you to add bits of code that link the event with scripts that you want executed.

Javascript events are defined in HTML tags, just like other attributes. Events are normally used in combination with functions, which will be executed when the event occurs.

attribute event that triggers the script...
onclick a single mouse click
ondblclick mouse is clicked twice rapidly
onload a page or an image finishes loading
onmouseover the mouse is moved over a specified object such as an image
Free Website Hosting

WebDevelopmentTutorials.com