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);
}
When the popup is closed via a close button or the "x" top right of the popup, the iframe reloads and make a request to the server. It is not supposed to do that. Any idea to prevent that? I'm on Chrome and jQuery 1.4.2.
Thank you!