message box in jquery

巧了我就是萌 提交于 2019-11-29 11:40:09

问题


Can any one suggest the code for creating message box in jquery???


回答1:


Do you mean just? alert()

function hello_world(){ alert("hello world"); }



回答2:


using jQuery UI you can use the dialog that offers. More information at http://docs.jquery.com/UI/Dialog




回答3:


jQuery UI Dialog right here: http://jqueryui.com/demos/dialog/




回答4:


Let me to recommend you a jQuery plugin for nice modal alers. It doesn't requires jquery UI.

Demo: http://www.webmasters.by/images/articles/jquery.alerts/index.html




回答5:


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




回答6:


  • Bootstrap3 provides modals
  • jQuery UI dialogs
  • jQuery.msgBox provides various kinds of dialogs:
  • For 5$ per app it is used, there is http://codecanyon.net/item/jquery-msgbox/92626.



回答7:


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



来源:https://stackoverflow.com/questions/4920459/message-box-in-jquery

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!