The form will submit to its action if onsubmit returns: | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

The form will submit to its action if onsubmit returns:

true or false

8th Oct 2018, 4:46 AM
Alvin Dela Cruz
Alvin Dela Cruz - avatar
2 Respostas
+ 4
I think it needs to return true, returning false will abort the process, if I understood it correctly. P.S. Also lookup for event.preventDefault.
8th Oct 2018, 7:17 AM
Ipang
0
true
21st Jan 2023, 3:58 PM
Š’Ń–Ń‚Š°Š»Ń–Š¹ ŠšŠ°Š»Š°Ń‚ŠøŠ½ŠµŃ†ŃŒ
Š’Ń–Ń‚Š°Š»Ń–Š¹ ŠšŠ°Š»Š°Ń‚ŠøŠ½ŠµŃ†ŃŒ - avatar