[jQuery] Pass a variable into a script via URL?

[jQuery] Pass a variable into a script via URL?


Is it possible to pass a var into a script via a url?
i.e. src="myscript.js?var=thisval"
I know I can set the var before calling the script and that would
work, but this way it would be less code.
Any ideas?