Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the difference between Input type submit and input type button?

user-image
Question added by Mohamed Abdelnour , UI/UX Specialist , DXC Technology previously known as (Hewlett-Packard Enterprise)
Date Posted: 2015/06/05

Input type button where you can insert data On the other hand input submit data where you can save your inserted data,

input type submit buttons will submit the form they are in when the user clicks on them, unless you specify otherwise with JavaScript.

 

input type button buttons will not submit a form - they don't do anything by default. They're generally used in conjunction with JavaScript as part of an AJAX application.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.