Я Popup внешнего URL страницы в моей текущей странице с помощью jQueryDialogue и IframeЗакрыть PopupJqueryDialogue с Iframe
var iframe = $('<iframe frameborder="0" id="FrameCust" marginwidth="0" marginheight="0" allowfullscreen></iframe>');
var dialog = $("<div id='tempstep'></div>").append(iframe).appendTo("body").dialog({
autoOpen: false,
modal: true,
resizable: false,
width: "auto",
height: "auto",
close: function() {
iframe.attr("src", "");
}
});
$("input[id$='btnAddCust']").on("click", function AddCust(e) {
e.preventDefault();
var src = "../MasterPages/CustomerMaster.aspx?lpopup=True";
var title = "Customer Master";
var width = "980";
var height = "530";
iframe.attr({
width: +width,
height: +height,
src: src
});
dialog.dialog("option", "title", title).dialog("open");
});
В моем основном клиенте Codebehind Файл Проверку строки запроса на Identifiey страницы из всплывающего окна или сам (lpopup = 'Истинного ') Я хочу закрыть PopupDialogue после нажатия кнопки «Сохранить» внутри PopupDialogue (In External Url) как я могу это сделать?
Вы можете предоставить jsfiddle для этого? –