Resetting forms using an Image Button
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Resetting forms using an Image Button
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.http://www.smartwebby.com/DHTML/resetting_forms.asp
Total Hits: 3367
Total Votes: 38 votes
Category: Java Script/Forms
Submitted on: 2008-03-14 02:49:51
Submitted By: Devesh Khanna
Description:
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. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() ![]() |
![]() ![]() 15.79% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 21.05% |
8 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 15.79% |
6 |





15.79%

15.79%

15.79%

21.05%

15.79%