JavaScript Guide
By Peter, Edited By Sasha

If you want to trigger JavaScript code, then you can put something like this:
<input type="button" onclick="javascript code to be executed" value="value" />
Here is a list of parameters you can use:
For Buttons and Anchors(links) | |
onclick="javascript code to be executed" | This parameter executes the script inside when you click on the button. |
ondblclick="javascript code to be executed" | This parameter executes the script inside when you double click the button. |
For Text Boxes and Text Areas |
|
onfocus="javascript code to be executed" | This parameter executes the script inside when the text box becomes in focus. |
onblur="javascript code to be executed" | This parameter executes the script inside when the text box's focus is taken away. |
Buttons, Text Boxes, Anchors(links), Everything! |
|
onmouseover="javascript code to be executed" | This parameter executes the script inside when your cursor moves over the element. |
onmouseout="javascript code to be executed" | This parameter executes the script inside when your curser moves out from over the element. |

The innerHTML of an element is the text between the tags (e.g. <a href="">this is the innHTML</a>).
To change the innnerHTML of an element, add: this.innerHTML=('new innerHTML');.
We hope this tutorial helped you! For suggestions, questions, or anything, contact yael@lime-pie.zzn.com or sasha@lime-pie.zzn.com.