In my application, I use the javascript function to set the src tag for the iframe:
function loadDocument(id, doc) {
$("#DocumentContent").show();
$("#ButtonBox").show();
$("#DynamicMenuContent").html("");
$("#PageContent").html("");
$("#iframeDocument").attr("src", 'ViewDoc.aspx?id=' + id + '&doc=' + doc + '');
$("#DynamicMenuContent").load("ShowButtons.aspx");
$("#documentTitle").load("GetDocumentInfo.aspx?p=title");
}
When I open Fiddler and debug this page, I notice that the "ViewDoc.aspx" page is called twice.
When I put alert () in the loadDocument function, I get only one warning message. My viewdoc.aspx page has no update or redirect statements or other operators refreshing the page.
Is it possible that this is due to the browser? Is this the default browser behavior?
source
share