Previous slide Next slide Back to the first slide View text version


Example 2

Notes:


SCRIPT tag is defined as a “placeholder” in HTML 3.2 standard.

Netscape tag attributes: optional LANGUAGE=“JavaScript1.1”

!-- Begin to hide script contents from old browsers.

// End the hiding here. -->

Focus, Blur, Change events: text fields, textareas, and selections

Click events: buttons, radio buttons, checkboxes, submit buttons, reset buttons, links

Select events: text fields, textareas

MouseOver event: links

blur User removes input focus from form element onBlur

click User clicks on form element or link

change User changes value of text, textarea, or select element

focus User gives form element input focus

load User loads the page in the Navigator

mouseover User moves mouse pointer over a link or anchor

select User selects form element's input field

submit User submits a form

unload User exits the pageonUnload