+ 1

Can i use "Submit" to do something happen instead of to send information

The question is above. Can i use Submit in WEB to do something happen in the code?

11th Jan 2020, 7:39 PM
BlueCodey
BlueCodey - avatar
2 ответов
11th Jan 2020, 9:30 PM
BroFar
BroFar - avatar
+ 2
Pass e as parameter to your function. And write e.preventDefault(); If you know jquery then do what Mirielle🐶 said.
12th Jan 2020, 1:42 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar