Sorry for the hiatus. VS pointed me to a thread here and I now realize what I've been missing all these months...
And here comes the first of many dumb questions!
Let's say that I have a page with the following code:
<script id="cdc" src="/myscript.js"></script>
I'd like to be able to access the contents of myscript.js on the client side. In other words, I'd like to do something like:
var thescript = document.getElementById('cdc').innerHTML;
Except innerHTML doesn't work because there isn't actually anything in the script tags.
Is there a way for me to access the contents of myscript.js?