@AdamGundryJun 10.2004 — #If you mean a JS include using a <script src...> tag, you could do something like this:
<script type="text/javascript"> var included = false; </script> <script type="text/javascript" src="example.js"></script> <!-- Example.js should set included = true somewhere in the code. --> <script type="text/javascript"> if (included){ // Ok } else { // Something's wrong } </script>