jtsage/jquery-mobile-simpledialog — Issue #17: Add a option to run a function when call simpledialog('close') when use raw html mode
Author: vehuel
Created: 2011-10-16 01:59:08+00:00
State: open

If I can do something like it

$('#dialoglink').live('click', function() {
$(this).simpledialog({
'mode' : 'blank',
'prompt': false,
'forceInput': false,
'useModal':true,
'closeFunction':function() {
// Do something here
},
'fullHTML' :
"

Some
List
Items

Close"
})
});
$('#simpleclose').live('click', function() {
$('#dialoglink').simpledialog('close');
});

When I click Close, the function I passed to 'closeFunction' parameter will run after dialog close.

Thank you for your great work.