raimis
Member
i with element button in js call pop-up window, how can do something when window is closed.
here is my button code
and for me need when close this window or save record, save form
Code:
if(windows close){
run this code
}
here is my button code
JavaScript:
var url = 'index.php?option=com_fabrik&view=form&formid=17&Itemid=122&tmpl=component&ajax=1&noredirect=1&BookID='+IncomeParentID+'&RepeatParentID='+RepeatParentID;
Fabrik.getWindow({'id':'ServiceList', 'loadMethod': 'xhr', 'contentURL': ''+url+'', 'title': 'Service List', 'height':'50%', 'width':'50%',});
Last edited: