Alert-Popup message dialog box (with an OK button in the dialog box) <script language= Web page Special effects > <!-- Alert ("N The Enterprise is: DD")%> n but you can contact the enterprise by the following means N Tel: 111 "); Location.href = ". /.. /index.asp Tutorial " --> </script>
Confirm () Confirm--Pop-up message dialog box (contains an OK button and Cancel button in the dialog box) <script type= "Text/javascript" > function Show_confirm () { var r=confirm ("Press a Button"); if (r==true) { Alert ("You pressed ok!"); } Else { Alert ("You pressed cancel!"); } } </script>
Server Popup Page.clientscript.registerstartups Tutorial Cript (Page.gettype (), "message", "<script language= ' JavaScript ' defer> Alert (' The background does not turn white! ');</script> ");
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.