jQuery Impromptu – alert and confirm replacement with form support
jQuery Impromptu is an extention to help provide a more pleasant way to spontaneously prompt a user for input. More or less this is a great replacement for an alert, prompt, and confirm. Not only does it replace these but it also allows for creating forms within these controls. This is not intended to be a modal replacement, just a quick tool to prompt user input in a fashionable way.

This is a good plugin to replace alert() and confirm() methods using callback functions. Fully stylabe using CSS. Lots of examples are shown in the site.
Suggested enhancement
Need to support draggable functionality.
| Dependencies | jQuery |
|---|---|
| Size | 6KB |
| Restrictions | None (Apache License) |
| Demo & Download | Open | Open in new window |
Related posts:
- Three jQuery modal plugins to repace alert and confirm
- Sexy Alert Box for Mootools
- jQuery BlockUI Plugin
- How to make your forms better with jQuery?
- jQuery Ajax File Upload
If you like this post, please share it so that others can also find this





There WAS an issue in jQuery Impromptu (version1.8) :
In firefox when user opens Impromptu alert, and click on fade area. its loosing focus of default button & because of that user was not able to close the alert Box with the help of EsCAPE key. This was not an issue in IE.
To fix this issue you just have to set focus on default button when user click on fade area.
When I use jQuery Impromptu with Sitemesh or tiles, slidedown & slideup is strange
in IE. However there is not an issue in firefox.
Hi, I posted an unobstrusive solution on my blog, you may check at http://bit.ly/hFvCXt !
How I put impromptu over a blockUI Div?