Home > Web Front-end > JS Tutorial > body text

Regarding the issue of automatic page refresh after clicking the button

一个新手
Release: 2017-10-19 10:25:34
Original
4616 people have browsed it

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();"/>
Copy after login

If you want to use a picture button and allow automatic page refresh, you can use

<input type="image" src="" />
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template