var pt_popup_options = {};
function pt_popup_iframe(sURL, sOkFunction)
{
pt_popup_okfunction = sOkFunction;
$("#pt_msgBox").css('width', '700px');
$("#pt_msgBox").css('heigth', '500px');
$("#pt_msgBox > p").html('<iframe style="width: 696px; height: 496px;" src="' + sURL + '"></iframe>');
$("#pt_msgBox").modal(pt_popup_options);
}
當彈出通過關閉按鈕或彈出窗口的「×」右上角關閉時,iframe重載並提出請求,以服務器。它不應該這樣做。任何想法,以防止這一點?我在Chrome和jQuery 1.4.2上。使用在jquery.simplemodal的iframe,則iframe重載時彈出關閉
謝謝!