Adding type=”button” attribute to button solved my problem.
How do I stop a refresh page after Ajax call?
Adding type=”button” attribute to button solved my problem.
Does Ajax reload the page?
AJAX is about updating parts of a web page, without reloading the whole page.