Forum Moderators: open

Message Too Old, No Replies

In case of error, ignore and continue

         

csdude55

11:27 pm on Aug 18, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have a script that I expect (hope) to have to update every so often. I'll be loading it on every page via:

<script src="https://www.example.com/foo.js"></script>

But JUST in case I code a syntax error, I need all of the other Javascript on the site to continue running as normal.

What do you suggest?

Peter_S

8:42 am on Aug 19, 2023 (gmt 0)

5+ Year Member Top Contributors Of The Month



You might want to explore the "try { } catch { }" statement.