Gaspare Sganga

IT Supervisor, GIS Analyst & Lead Developer @setin.

Freelance Developer & Consultant.

Buy me a coffee?

A pretty looking alternative to Javascript’s window.alert(), window.confirm() and window.prompt() functions.

There are plenty of similar plugins, but I wanted something different and modern which takes advantage of the jQuery Promise interface, giving a structured feeling to the code using it:

    buttonDone  : "Yes",
    buttonFail  : "No",
    message     : "Would you like to continue ..... ?"
    // Do something here
    // Don't continue, maybe do something else

Download and documentation

Go to the Lab page: MessageBox