How to Submit a Form Without Using Submit Button

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.


<form action="#" method="get">
<input type="text" name="name"> 
<input type="email" name="email" onchange="this.form.submit()"> 

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *