Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Message box in jQuery

Tags:

jquery

msg

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

like image 854
ashish Avatar asked Feb 07 '11 10:02

ashish


4 Answers

Do you mean just? alert()

function hello_world(){ alert("hello world"); }
like image 84
classicjonesynz Avatar answered Nov 11 '22 10:11

classicjonesynz


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

like image 36
Sotiris Avatar answered Nov 11 '22 10:11

Sotiris


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

like image 5
JK. Avatar answered Nov 11 '22 12:11

JK.


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

like image 3
Kir Avatar answered Nov 11 '22 10:11

Kir