luca
0
Q:

prevent button from submitting form

function myFunc(e){
       e.preventDefault();
}
0
<button type="button">Button</button>
1

New to Communities?

Join the community