Seems like you were using jQuery Dialog and you've missed one important thing. First, you need to set the attribute
modal:true
. Second, you've missed the semi-colon (
;
) after your
return false
line. You could try something like this instead:
popup = formDiv.dialog({
autoOpen: true,
modal: true,
scrollbars: true,
resizable: false,
title: ' INVOICE REORD',
height: 520,
width: 1117,
close: function () {
RefreshParent();
popup.dialog('distroy').remove();
return false;
}
});