jQuery jquery中的消息框
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4920459/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
message box in jquery
提问by ashish
Can any one suggest the code for creating message box in jquery???
任何人都可以建议在jquery中创建消息框的代码吗???
回答by Killrawr
Do you mean just? alert()
你的意思是刚刚?警报()
function hello_world(){ alert("hello world"); }
回答by Sotiris
using jQuery UI you can use the dialog that offers. More information at http://docs.jquery.com/UI/Dialog
使用 jQuery UI,您可以使用提供的对话框。更多信息请访问http://docs.jquery.com/UI/Dialog
回答by JK.
jQuery UI Dialog right here: http://jqueryui.com/demos/dialog/
jQuery UI 对话框就在这里:http: //jqueryui.com/demos/dialog/
回答by Kir
Let me to recommend you a jQuery plugin for nice modal alers. It doesn't requires jquery UI.
让我向您推荐一个jQuery 插件,用于漂亮的模态警报。它不需要 jquery UI。
Demo: http://www.webmasters.by/images/articles/jquery.alerts/index.html
演示:http: //www.webmasters.by/images/articles/jquery.alerts/index.html
回答by Sergik666
Try this plugin JQuery UI Message box. He uses jQuery UI Dialog.
试试这个插件JQuery UI Message box。他使用 jQuery UI 对话框。
回答by koppor
- Bootstrap3provides modals
- jQuery UI dialogs
- jQuery.msgBoxprovides various kinds of dialogs:
- For 5$ per app it is used, there is http://codecanyon.net/item/jquery-msgbox/92626.
- Bootstrap3提供模态
- jQuery UI 对话框
- jQuery.msgBox提供了多种对话框:
- 对于每个使用它的应用程序 5 美元,有http://codecanyon.net/item/jquery-msgbox/92626。