Click to See Complete Forum and Search --> : force to get a response from server


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>

96turnerri
09-13-2003, 10:08 AM
i dont think your going to have much luck in the html section may i suggest moving in to java or something?

AdamGundry
09-13-2003, 10:53 AM
Cross posted :mad: and answered in the Javascript section: http://forums.webdeveloper.com/showthread.php?s=&threadid=17326

Adam

96turnerri
09-13-2003, 10:56 AM
i did tell ya to move it to java section lol, well at least u got an answer now

tanfwc
09-13-2003, 01:20 PM
Originally posted by AdamGundry
Cross posted :mad: and answered in the Javascript section: http://forums.webdeveloper.com/showthread.php?s=&threadid=17326

Adam

sorry....coz i wan a very quick reply about this...sorry...how can i delete this thread?