After adding data, the page does not jump and displays a beautiful prompt message (non-ajax submission data), prompt message ajax
1. Set a prompt in the background to indicate whether the addition is successful
2. Set prompt information on the add page
(You can make it into whatever style you like)
3. Write js to control the display and disappearance of prompt information
http://www.bkjia.com/PHPjc/1053807.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1053807.htmlTechArticleAfter adding data, a beautiful prompt message is displayed without jumping to the page (non-ajax data submission), prompt message ajax 1. Set a prompt in the background to indicate whether the addition is successful or not 2. Set on the adding page...
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