Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Resetting forms using an Image Button

Share this post!
 Vote this!

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 an image field and 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. more...

0 comments:

Post a Comment