Strange jQuery AJAX Firefox Issue -- Page Randomly Won't Finish Downloading -


i have strange issue web app. see, i'm using jquery forms api , doing $('#myform').ajaxsubmit(api parms , callback function goes here).

randomly when this, however, , on firefox, page load icon starts spinning, page load progress bar runs in status bar, , stop button goes red -- has posted form , brought result. if refresh page , keep trying this, randomly exhibits problem, not consistently.

this problem occurred on ff2 on windows 2008 server , ff3 on ubuntu 8.04. problem not seen ie6, ie7, opera (latest stable, nov 2008), or safari (latest stable, nov 2008).

is known bug in ff ajax, or there can jquery stop page load issue?

edit: might have tinymce. cannot confirm 100%, when use jquery bring form tinymce control on it, problem seems exhibit more often. tried doing form not have tinymce control on it, several times, , couldn't problem occur. again, that's nothing conclusive, might factor.

edit: okay, commented out tinymce stuff , can confirm problem goes away then. if bring tinymce control back, problem randomly occurs.

i used have issue when worked on site made heavy use of iframes. if remember correctly easy way cure create iframe in top page minimum height/width , call framefix or similar.

then iframe content pages use body load event write empty string close framefix iframe. forces status bar load up.

e.g

iframe content page

<body onload="javascript:progressbarhack()">  function progressbarhack(){    top.framefix.document.write("");    top.framefix.close();    return; } 

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -