I. Existing js pop-up box
1. alert (message)
Message is the plain text to be displayed in the pop-up box;
<script>function show_alert(){ alert('hello'); }</script>
2. confirm the prompt box confirm
Confirm (message)
Message is the plain text (not HTML text) to be displayed in the prompt box)
<script>function show_confirm(){ if(confirm('Are you sure ?')) alert('yes'); else alert('no');}</script>
Click OK or return to the displayed dialog box.
If you click Cancel, the no dialog box is displayed.
3. Enter the prompt box prompt <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + signature + CjxwPnRleHTOqtTayuTI67/yyc/D5s/Uyr61xLS/authorization/8tbQxKzIz8/authorization + Signature = "brush: java;"><Script> function show_input () {var city = prompt ('enter your province and city ', 'shandong'); if (city! = Null & city! = '') {Var str = city + 'is a good place'; alert (str) ;}}</script>
Default defaultTex in Shandong. If this parameter is not selected, it is blank in the text box;
Click OK. A dialog box is displayed: