after form submit input field clear jquery code example Example: form reset jquery $('#form').get(0).reset()