$('#submitCase').click(function () { $('#Messagesub').html("You are Closing Window"); $("#Dialog").dialog({ modal: true, resizable: false, buttons: { "Ok": function () { CloseWithWindowOpenTrick(); } } }); }); function CloseWithWindowOpenTrick() { var objWindow = window.open(location.href, "_self"); objWindow.close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)