Home  >  Article  >  Backend Development  >  After adding data, a beautiful prompt message will be displayed without jumping to the page (non-ajax submission of data)

After adding data, a beautiful prompt message will be displayed without jumping to the page (non-ajax submission of data)

WBOY
WBOYOriginal
2016-07-29 09:15:401042browse

1. Set a prompt in the background to indicate whether the addition is successful or not

2. Set the prompt information on the adding page

(use whatever style you like)

3. Write js control prompts Display and disappearance of information

The above introduces how to display a beautiful prompt message without jumping to the page after adding data (non-ajax submitted data), including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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