Skip to content

Instantly share code, notes, and snippets.

@rbdcti
rbdcti / gist:1120342
Created August 2, 2011 14:50 — forked from yuribossa/gist:716577
Simple Popup Message based on jQuery Mobile - supports modal windows optionally (requires jqModal)
function jqmSimpleMessageRemove(dialogID) {
/* optionally call this function to destroy a window made with jqmSimpleMessage
* especially useful if your timeout val is long and the window is shown modally
*/
var dialog = $('#' + dialogID);
if(!dialog)
return;
if(dialog.attr('_type') == 'modal') {