reset only one field on the form field ext js code example Example: how to reset input field in javascript document.querySelector('#counter').value = '';