The jQuery UI library has a dialog widget that I use for things like this. While it’s a plugin, IMO, the best practice is simply not rolling your own dialog widget.
http://jqueryui.com/demos/dialog/
The jQuery UI library has a dialog widget that I use for things like this. While it’s a plugin, IMO, the best practice is simply not rolling your own dialog widget.
http://jqueryui.com/demos/dialog/