I love JQuery. I also love JQuery UI. Well, I mostly love UI. It’s kind of a love hate relationship. At the end of the day though, I always know i’ll be cuddling up to it for my web ui needs. In my opinion, one of the greatest pieces of the UI package is the Dialog. The only thing that tarnishes an otherwise beautiful gem is the fact that it’s a bit of a hassle to actually get a dialog set up and working. Adding simple confirmation boxes, or worse, using a plethora of dynamic dialogs is a bit more painful than it should be. Enter dialogWrapper. It basically adds a set of one shot functions for creating normal dialogs, alert style boxes, and yes, even confirm’s with a single call. Check it out.
Simplified Use of jQuery UI Dialogs with dialogWrapper