Categories

Updated: 04/22/2005

Resetting forms using an Image Button (IE4+ / NS4+)

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.
©2019 A--9.com