Today we learned how to submit form without using submit button.
Sometimes, to improve the design of contact form, we have to submit form without submit button, then we will use onchange for that.
onchange=”this.form.submit()”
<form action="#" method="get">
<input type="text" name="name">
<input type="email" name="email" onchange="this.form.submit()">
</form>