Reputation: 2711
I disabled the default .expose() closeonclick function because i want to close it with button. The problem is i cant find the code how to properly close it.
$('#button').on('click',function(){ ...? });
Upvotes: 2
Views: 206
Reputation: 4145
Just call on button click:
$.mask.close();
JSFiddle
Upvotes: 1