Jquery Pop-Up for Error Messages?
jquery
Solution
You might look at jqueryui. That projects provides you with modal dialogs that should do what you want.
http://jqueryui.com/demos/dialog/
From the jqueryui site:
A call to $(foo).dialog() will initialize a dialog instance and will auto-open the dialog by default. If you want to reuse a dialog, the easiest way is to disable the "auto-open" option with: $(foo).dialog({ autoOpen: false }) and open it with $(foo).dialog('open'). To close it, use $(foo).dialog('close')
Problem
May be stupid Q for you but, I am trying to improve my jquery knowledge. I am showing error messages in alert box. Is there any standard API available to make programmers life simple. I did search but did not find it.. I knew, we can do this by using css and html. but, I am looking for jquery API. So, Instead of writing code in css, we can simply use API. If you have any suggestions, I am very happy to try as per your suggestions. would be grateful for help...