tanfwc
09-12-2003, 01:33 AM
i need help...erm...i am a beginner in the javscript area...i wan to force the script to get a response from the server...sometimes...the server is too busy to give a response and it will displayed a x image...i wan to script to contiunely get the response from the server...this is the script i use...but it will only request twice...once the second times fail...it will fail...how do i request from the server until the server response and the script will stop getting the image from the server? this a special server...it will check the status of me and give back a image whether i am online or offline.
<IMG SRC="http://abc.com/abc">
border="0"
ALT="abc
onerror="this.onerror=null;this.src='http://abc.com/abc';"
width="21"
height="22"></A>
<IMG SRC="http://abc.com/abc">
border="0"
ALT="abc
onerror="this.onerror=null;this.src='http://abc.com/abc';"
width="21"
height="22"></A>