Is it possible to have a javascript link like this (notice the query string):
<script type = "text/javascript" src = "/js/myScipt.js?v=3"></script>
and then in myScript.js get the value of v using jQuery? A javascript answer is okay too, but jQuery is preferred. Thanks in advance! I searched all over and all I could find were questions pertaining to getting the value of a query string in the URL, but not from it's own link.
There is no reason for you to pass information through the link when calling a script. That JavaScript will run after it has been called. There is for sure a better way to do what you are trying to acomplish with this.
Something like this might give you an idea.