button: will not refresh automatically
image button and submit will refresh automatically
If you want to use an image button, but don’t want the page to refresh automatically after clicking the button; then use button and set it The background image of the button
<input type="button" style="background:url();"/>
If you want to use a picture button and allow automatic page refresh, you can use
<input type="image" src="" />
The above is the detailed content of Regarding the issue of automatic page refresh after clicking the button. For more information, please follow other related articles on the PHP Chinese website!