jsMsgbox

Msgbox for Javascript

About

I got tired of the limits of alert() & confirm(), which are all Javascript has for collecting user responses.  I wanted the power of VB/VBA/VBScript's Msgbox function (rather than just mixing VBScript with Javascript, which often isn't an option).

So I rolled my own and called it jsMsgbox.  It can do nearly everything a native VBScript Msgbox can, including full icon/buttons choices, control of the dialog title, and keyboard accessibility.  Check it out..

Updated: XP SP2 compatibility

Compare demo


Msgbox options:

prompt:
constants:
title:

Return value:

View Source:

msgbox.js, js_msgbox.html, this page, everything zipped

notes

history

support

As-is, etc.  If you ask nicely, I may provide support via email.

credits/author

-Rob (@slingfive) Eberhardt, Slingshot Solutions
Use freely, but be honest about it.  I just ask for credit.

« slingfive.com