qonvex_alert
An alert popup plugin for javascript (jQuery) AUTHOR: John Mark Mancol
How to use :
for alert use: dialog.alert(message, header_title); message = the message you want to display header_title(optional) = The title on the header
for confirm use: dialog.confirm(message, callback_function, header_title, btns_caption); message = the message you want to display callback_function(function) = the function to call when hitting 'Ok' or true button on confirm dialog header_title(optional) = The title on the header btns_caption(object) = captions for button ok and cancel btns_caption = { ok: 'Yes', cancel: 'No' }
for prompt use: dialog.prompt(message, callback_function, header_title); message = the message you want to display callback_function(function) = the function to call when hitting 'Ok' or true button on confirm dialog set argument to use the returned value header_title(optional) = The title on the header