Hi there. I thought this would be an easy one, but i've searched a long while and failed to find what i need.
I have a website which is feeding data to other websites through a simple javascript call similar to:
<SCRIPT LANGUAGE=JAVASCRIPT src="
For reasons unrelated this server needs to be rebooted everyday for the next couple of weeks, and i would prefer not to hang the feedee pages while our script is unavailable. Is there a straightforward way to add a conditional statement that tests if the domain is up (or the script is available or whatever) before calling the actual script? I don't mind adding the conditional to the code we hand out to feedees, but i cannot find a test for aliveness in javascript. Thanks in advance
I have a website which is feeding data to other websites through a simple javascript call similar to:
<SCRIPT LANGUAGE=JAVASCRIPT src="
For reasons unrelated this server needs to be rebooted everyday for the next couple of weeks, and i would prefer not to hang the feedee pages while our script is unavailable. Is there a straightforward way to add a conditional statement that tests if the domain is up (or the script is available or whatever) before calling the actual script? I don't mind adding the conditional to the code we hand out to feedees, but i cannot find a test for aliveness in javascript. Thanks in advance