Rod
Rod

Reputation: 15455

jqmodal event when modal goes away

when you click outside the modal to close it can you hook into any events to run more code?

thanks, rodchar

Upvotes: 1

Views: 707

Answers (1)

laurentb
laurentb

Reputation: 1085

You have to declare a callback.

var myClose=function(hash) { /* YOUR STUFF */ };

$('#dialog').jqm({onHide:myClose});

Upvotes: 2

Related Questions