By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,972 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,972 IT Pros & Developers. It's quick & easy.

i want to replace alert box with jquery dialog box.

P: 20
hello i have validate some code
Expand|Select|Wrap|Line Numbers
  1. var err_str//(global variable)
  2. function save()//save button.
  3.     {
  4.      myDataProcessor.sendData();
  5.      if(err_str!="")
  6.      alert(err_str);
  7.         // $("#dialog").append("<br><font style='font-weight:bold;color:#3399FF;'>err_str</font>");
  8.      err_str="";
  9.       $("#result").html("&nbsp;");
  10.     }
  11.  
i want to display error messages in jquery dialog box,
can any one tell me how to do.
Mar 28 '12 #1
Share this Question
Share on Google+
1 Reply


P: 78
Refer this link http://jqueryui.com/demos/dialog/#modal
Mar 29 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.