New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page reload after onClick - if button inside <form> tag #1751

Yvahajatiana opened this Issue Dec 5, 2018 · 3 comments


None yet
3 participants

Yvahajatiana commented Dec 5, 2018

No description provided.


This comment has been minimized.

michaelvolz commented Dec 5, 2018

If you use the Form tag, your page will be submitted to the server. Just remove it. You don't need it, except you want to submit your form to the server this way. Normally you don't.


This comment has been minimized.


RyoukoKonpaku commented Dec 5, 2018

If you need the form tag in any way. Just make the button <button type="button" ></button> to signify it that it's not a submit button.


This comment has been minimized.

Yvahajatiana commented Dec 6, 2018

@michaelvolz , @RyoukoKonpaku Thank you!
It's working now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment