Closed nadymain closed 7 years ago
you'll have to assign the dialog box to a variable in the parent window, like
var dialog = new $.Zebra_Dialog()
from the iFrame you'd use
parent.dialog.close()
parent window:
var $dialog;
$('.btnImage').on('click', function(e) {
e.preventDefault();
$dialog = new $.Zebra_Dialog({...});
});
iframe:
$('.select').click(function(){
...
parent.$dialog.close();
});
thanks.
parent.???.close();
thanks.