Home > Web Front-end > JS Tutorial > JavaScript Alert general beautification class_javascript skills

JavaScript Alert general beautification class_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 18:40:55
Original
1555 people have browsed it

function sAlert(msg,boxtype,func,msgtitle)
sAlert('information content',1,'','information title')
@msg: Prompt information content
@boxtype: 1 is a pop-up box , 2 is the confirmation box, 3 is the prompt box
@func: the function executed when confirming is clicked
@title: the text content of the title of the information box
Only msg is required, and the following parameters can be omitted. If the middle parameter is empty, use '' or "" in the corresponding position (single or double quotes according to the actual situation)
To call this method, you must add the following code to the head area of ​​each page used.

Copy code The code is as follows:




Related labels:
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
Latest Issues
alert is not implemented yet
From 1970-01-01 08:00:00
0
0
0
javascript - Add alert to bootstrap popup layer
From 1970-01-01 08:00:00
0
0
0
alert("Hello JavaScript");
From 1970-01-01 08:00:00
0
0
0
Using $t in alert() for Vue’s i18n translation
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template