- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
the massageBox method has a return value, you can use to determin, if the user has clicked OK or not.
if (xfa.host.messageBox("Close Doc?", "Close Doc", "2", "1") === 1) {
event.target.closeDoc(false);
}