How to realize the function of pop-up warning message box in PHP
This article mainly explains "PHP how to achieve the function of pop-up warning message box", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "PHP how to achieve the pop-up warning message box function" bar!
The alert () method is used to display a warning box with a specified message and an OK button.
Grammar
Alert (message)
2. The parameter message represents the plain text (instead of HTML text) to be displayed in the dialog box that pops up on window.
Example