Posts

Showing posts from October, 2013

Dynamic Dialog Boxes

Image
The Basic problem with Dialog Boxes Almost all the web applications use dialog boxes to popup a message to the user or confirm for an action taken by the user. Most of the time we end up using JavaScript for such kind of dialog boxes. And most of the time our purpose gets solved with JavaScript alerts/dialog boxes. However when we have a slightly different request, JavaScript fails to support those requests. For example, client might ask for a Yes/No dialog box instead of Ok/Cancel and JavaScript fails to support this. You can still achieve Yes/No in javascript, however it will have limitations, such as it will work with IE only and it will display VBscript at the title bar of the dialog box. Let’s take another example, where in the client wants to have three buttons on the dialog box. Again javascript fails to support this functionality.  Another example, where in the client wants to have dynamic look and feel , or a look and feel matching the application in context; again ja