[Javascript] script source problem

Greg Merritt greg at merrittgroup.com
Thu Apr 26 08:19:25 CDT 2001


I'm having a tricky problem calling my javascript source in the <script>
tag.

The problem is, I'm calling the source from another server (and the
javascript has to be on this other server).

What can I do if that other server goes down?

I don't want users to experience errors or strange behavior. At the very
least, it would be nice to give them an error message.

I've read all the documentation, and nothing worked (supposedly code placed
between the script tags will execute on error, but it doesn't work if the
other web server is down). I'm hoping someone on this list has found a
workaround.

Thanks,

Greg Merritt

<script language=Javascript src=http://anotherserver/myscript.js>
</script>






More information about the Javascript mailing list