F
Fred Lazy
is it possible to pass a variable via a searchquery (as in after the
question mark) of an include, from an html file? Something like: ..
<script ... src="include.js?green">
... and the in the "include.js" file pick the value up:
if ( searchquery =="green"){
do something green
}
Or would it be done by some different method, if at all possible? I.e. to
set a variable from the <script src=..> level of the function call.
question mark) of an include, from an html file? Something like: ..
<script ... src="include.js?green">
... and the in the "include.js" file pick the value up:
if ( searchquery =="green"){
do something green
}
Or would it be done by some different method, if at all possible? I.e. to
set a variable from the <script src=..> level of the function call.