I’m opening new tab by click on button in the home page , and building the new tab from copying some Elements from the home page,on loading event,i do all my work , also I’m changing image src on load event by filling it from the server , i don’t know why fire fox stuck on status of “Transferring data from server”,can any one help me in this problem?
this is piece of my code:
window.onload = function () {
document.getElementById('demo_tab_info').innerHTML=opener.document.getElementById('demo_tab_ifo').innerHTML;
if(document.getElementById("Have_Patient__Photo_image" ).value =='true')
{
document.getElementById("pat_<%=Pat_Acct%>_pic_area").innerHTML="<img name='pat_<%=Pat_Acct%>_pic_image' id='pat_<%=Pat_Acct%>_pic_image' src='' onload=\"Fix_Dimensions('pat_<%=Pat_Acct%>_pic')\"/>";
var Image_Element_Name = 'pat_<%=Pat_Acct%>_pic_image';
var Image = document.getElementById(Image_Element_Name);
Image.src='/jspapps/apps/file_uploader/view_image.jsp?table=pat_dri_images&db=admin&im_type=pat_pic&pat_acc=<%=Pat_Acct%>&ts='+(new Date()).getTime();
}
}
Install Firebug and use the “Net” tab to see which connections are made and which one is kept open.