kheralalit/resources-javaScript
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
What the piece of code does: Assumptions 1. A Reset button is disabled bydefault on pageload. 2. The page has textboxes, textarea, drop down. The count of input elements will keep changing on every page load Functionality 1. Enable the Reset button if any changes has been done on any input element. 2. Disable the Reset button if no changes are marked as undo 3. On typing a wrong date in datepicker shows a tooltip. 4. Once you click on Reset button, all the changes you made on editable fields will be lost and the tooltip is also destroyed.