I’m using Google Minify to compress js files successfully.
I need to be able to pass a variable (like a $_GET variable) with this.
<script type="text/javascript" src="includes/min/?g=site_searchresults_js"></script>
Is there a way to pass a variable with the above code?
The process of determining the query string parameters that were passed when the script was added into the document is described in this article. It comes down to this kind of code: