I would like to reset several text fields and input files, specifying them manually, as I do with jQuery.
I used this to clear the forms so far:
$('.clear').click(function () { $('form#input')[0].reset(); });
This will result in all values of the text fields and inputs in the form being empty:
$('.clear').click(function() { $('form textarea,form input').val(''); });
Source: https://habr.com/ru/post/1752636/More articles:TDD system under test creation templates (AutoFixture) - tddJQuery - Microsoft JScript runtime error: expected object - jqueryFile.listFiles () and allocation of physical folders from virtual - javaparent> child notation in jquery 1.3 - javascriptIs output caching variable parameters in web forms, understand route parameters? - c #The title of the table title looks like a search bar - iosClick event for controls under other controls - eventsДизайн базы данных для изображений - databaseUnable to find data geography - sqlОтдельные таблицы ссылок/ассоциаций для разных данных? - database-designAll Articles