Global Variable Use within the Script Tag's Source Attribute
<p>I run the following javascript code which gives my the list of parameters from the client as well as calling a google fusion table sql statement which supplies its response to the callback function handleResponse.</p>

<pre><code>&lt;script&gt;

  // get parameter list
  var url = window.location.toString();
  url.match(/\?(.+)$/);
  var params = RegExp.$1;
  var params = params.split("&amp;");
  var queryStringList = {};
  for(var i=0;i&lt;params.length;i++)
  {
    var tmp = params[i].split("=");
    queryStringList[tmp[0]] = unescape(tmp[1]);
  }

  // callback function
  funtion handleRespose(response)
  {
  }
&lt;/script&gt;
&lt;script src="https://www.googleapis.com/fusiontables/v1/query?sql=SELECT data from table&amp;key=myKey&amp;callback=handleRespose"&gt;&lt;/script&gt;
</code></pre>

<p>My question is, how can I use queryStringList like this:</p>

<pre><code>&lt;script src="https://www.googleapis.com/fusiontables/v1/query?sql=SELECT " + queryStringList["data1"] + "from table&amp;key=myKey&amp;callback=handleRespose"&gt;&lt;/script&gt;
</code></pre>
