P
Pascal Damian
My HTML pages have a <SCRIPT SRC=http://remote/script> at the top'ish
of each page. Sometimes the remote host (probably due to heavy load or
flaky network connectivity) doesn't respond for a long time. This
causes the whole page to appear hanging without anything loading.
Is there some trick I can use with settimeout() so that if the remote
script cannot be loaded after, say, 30 seconds, then I can tell the
page/browser to cancel loading that script?
of each page. Sometimes the remote host (probably due to heavy load or
flaky network connectivity) doesn't respond for a long time. This
causes the whole page to appear hanging without anything loading.
Is there some trick I can use with settimeout() so that if the remote
script cannot be loaded after, say, 30 seconds, then I can tell the
page/browser to cancel loading that script?