Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par Mohamed Abdelnour , UI/UX Specialist , DXC Technology previously known as (Hewlett-Packard Enterprise)
Date de publication: 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?