When there is a button tag in the form, and the form is submitted asynchronously using ajax, the page will be refreshed Reason: When the button exists, the form will be submitted again, so the page is refreshed Solution: Just replace the button tag with an a tag
When there is a button tag in the form, and the form is submitted asynchronously using ajax, the page will be refreshed
Reason: When the button exists, the form will be submitted again, so the page is refreshed
Solution: Just replace the button tag with an a tag
Either your selector did not select the right one, or other Js is interfering at the same time
Probably covered. You can find out by turning on debugging and looking at the style of the right element.