Professional Documents
Culture Documents
Science &
Technology
www.histpk.org
A Division of Hidaya Trust, Pakistan
The return Statement:
A JavaScript function can have an optional return statement. This is
required if you want to return a value from a function. This statement
should be the last statement in a function.
Onload script Script runs when the body of the HTML get render
onmouseout script Script runs when mouse pointer moves out of an element
onmouseover script Script runs when mouse pointer moves over an element