开发者

Message box in jQuery

Can any one suggest the code for开发者_Python百科 creating message box in jQuery?


Do you mean just? alert()

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


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


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


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


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


  • 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜