home > javascript > events and actions
javascript events and actions
what is? | an event? an action? events trigger actions or, in computer language: you can have a lot of fun with javascript. most of the time you use it for form checks. example: did someone fill in an email adres? if not: give an alert message and don't send the form. |
||||||||||||||||||||||||||||||||||||||||||||
events: | events that exist in html (html is not case sensitive):
|
||||||||||||||||||||||||||||||||||||||||||||
actions: | some javascript actions you can try (javascript is case sensitive!):
|
||||||||||||||||||||||||||||||||||||||||||||
html | now, how does that look in html?
some attributes are an event (here: onmouseover), some attributes are not (here: href). |
||||||||||||||||||||||||||||||||||||||||||||