0

any

what is diferance between <input type="submit">,<input type="button"> and <button type="button">

24th Oct 2019, 6:30 PM
Saurabh Yadav
Saurabh Yadav - avatar
4 Respuestas
+ 2
submit you indicate when you need to send data to the server, for example, in a modal registration window usually submit is set. use button then when you need something to happen without going to another page when you press a button, for example, a popup with registration will open.
24th Oct 2019, 7:30 PM
Anna/Аня
Anna/Аня - avatar
+ 1
the second and third haven’t any functional differences
25th Oct 2019, 6:14 PM
Lilit Yeghiazaryan
Lilit Yeghiazaryan - avatar