[英]change pop up message
How can I change the popup message to have ok and cancel buttons? 如何更改弹出消息以确定并取消按钮? Here is a link to my current code:
这是我当前代码的链接:
From the OP, I don't see anywhere that has an alert
message or another type of pop-up, but if you are in fact using an alert
for your pop-up you can change it to confirm
instead. 在OP中,我没有看到任何有
alert
消息或其他类型的弹出窗口,但如果您实际上正在为弹出窗口使用alert
,则可以将其更改为confirm
。
Example: 例:
alert("There is an error!");
vs VS
confirm("Continue anyway?");
Well, you can use alert
or confirm
dialog. 那么,您可以使用
alert
或confirm
对话框。
If you want to use customized popup then use Jquery UI Dialog 如果要使用自定义弹出窗口,请使用Jquery UI对话框
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.