JavaScript: The Definitive Guide
25.136. Form.reset( ): reset the elements of a form to their default values
DOM Level 2 HTML
25.136.1. Synopsis
void reset( );
25.136.2. Description
This method resets each element of a form to its default value. The results of calling this method are like the results of a user clicking on a Reset button, except that the onreset event handler of the form is not invoked. 25.136.3. See Also
Form.onreset, Form.submit( ) |
Категории