I have need that the content of the manually loaded page bot.php or, not when he is ended the execution of the file bot.php clearly?
On 19 Lug, 19:21, Ariel Flesler <[EMAIL PROTECTED]> wrote: > $(window).load(function(){ > $("#content") > .append("Connessione in corso..<br>") > .load("bot.php"); > > }); > > If you don't need to wait for window.onload, then you can replace the > first line for > $().ready(function() { > > Cheers > > -- > Ariel Fleslerhttp://flesler.blogspot.com/ > > On 18 jul, 11:02, k8 <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > i have a one problem.. > > > Script JS: > > > $().ready(function() { > > $(window).load(function () { > > $("#content").append("Connessione in corso..<br>"); > > $.get("bot.php", function(data){ > > $("#content").html(data); > > }); > > }); > > > }); > > > /* file bot.php */ > > > while($i<85000){ > > echo "$i<br>"; > > $i++; > > } > > > /****************************/ > > > Why my script dosn't work perfectly? > > I found one error by firefox 'debug error'. > > Sorry for my english. > > Thanks.