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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 18:11:12  来源:igfitidea点击:

message box in jquery

jquerymsg

提问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

回答by Sergik666

Try this plugin JQuery UI Message box. He uses jQuery UI Dialog.

试试这个插件JQuery UI Message box。他使用 jQuery UI 对话框。

回答by koppor

回答by gor

If you don't wont use jquery.ui(that is highly recommended), you can take a look at Block.UIplugin.

如果你不会使用 jquery.ui(强烈推荐),你可以看看Block.UI插件。