function GetData(url){ try { DataLoad.src = url; /*how to modify this sentence to make sure just after file downloaded completely, then execute ......*/ ...... } catch(e) { return false; } }
orion_rus
8:55 pm on Dec 25, 2004 (gmt 0)
it's a php,perl, aspx question, try to ask it in a such forum) Good luck to you
MaxWang
12:10 am on Dec 30, 2004 (gmt 0)
no,this is a javascript function
Rambo Tribble
2:07 pm on Dec 30, 2004 (gmt 0)
The only real way to know when a page is finished loading is to use the onload event handler. The event can be accessed either through the window or the body, though basically it is the same event, either way.