|
In forms when using text
boxes or text areas and
check boxes you might need a
reset button that is not the
usual gray HTML
button. For this you can
use a small JavaScript
function as given below.
Note: This button will reset
only text boxes,text areas
and check boxes as list
boxes and option buttons
don't usually require
resetting. After resetting
the form the cursor will set
the focus to the first field
in the form.
Date: Apr, 22 2005 |