<script> $("#saveContinue1").click(function () { var url = "/MyCompony/Comp1save1"; var shopname = $("#SHOP_NAME").val().trim(); alert("ok"); $.post(url, { SHOP_NAME: shopname }, function (json) { RefreshParent(); $(this).dialog('distroy').remove(); $(this).parent('.tpCompony1').prop("disabled", false); $(this).parent('.tpCompony1').focus(); }); function RefreshParent() { if (popup.opener != null && !popup.opener.closed) { window.opener.location.reload(); } } window.onbeforeunload = RefreshParent; }) </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)