Code: Select all
alert(location.search);Code: Select all
<script type="text/javascript" src="[b]http://domain.com/dir/file.js?bla=bla[/b]"></script>So, I hope you get my point. What I'd like to know is how can a script react to the query string? The only way I can figure is to have the server parse the file before it's sent to the browser. But is there another way? What way did the example on Ajaxian (that I can't seem to find because Ajaxian post ten articles every hour of every day and the example was a couple months ago.
Thanks for reading. =D