+ 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?
3 ответов
+ 2
+ 2
Pass e as parameter to your function. And write e.preventDefault();
If you know jquery then do what Mirielle🐶 said.