Difference between RESET and CLEAR
Answer / anushree
clear empties the fields while reset changes to the default value of that field.
Clear vs. Reset
Clearing a form makes all input fields blank, unchecks checkboxes, deselects multi-select choices, and so forth; whereas, resetting a form reverts all changes.
For example:
<input type="text" name="name" value="Timothy" />
<input type="reset" value="Reset" />
This produces an input field with a value of Timothy. Let's say the user then changes the value to Berners-Lee. If the user clicks the Reset button, the value of Berners-Lee will revert (reset) to Timothy.
Clearing the fields would involve changing the value attribute of the input field to the empty string, as follows:
<input type="text" name="name" value="" />
You can change the value attribute using JavaScript.
| Is This Answer Correct ? | 6 Yes | 3 No |
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
How can we know running job is batch or interactive?
what is the difference between the procedure and module in ILERPG?
what is the necessary command needed before OPNQRYF and why?
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
what is the difference between the cpyf command crtdupobj command?
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
why we do STRSRVJOB in batch debugging in as400
1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS