title: Passing parameters to .js file
body: <p>I am developing a widget.
  the code for it is :</p>
  
  <pre><code>&lt;script src="../test/js.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I want to pass paramters to a .js file like this, as we pass parameters like a query string.</p>
  
  <pre><code>&lt;script src="../test/js.js?place=us&amp;list=10"&gt;&lt;/script&gt;.
  </code></pre>
  
  <p>These are my contents in my .js file.</p>
  
  <pre><code>var _html = '&lt;div id="FJ_TF_Cont" style="position: relative; padding: 0; margin: 0; border-width: 0px; width: 200px;"&gt;'
  + '&lt;iframe width="210" height="640" src="../test/content.aspx" name="FJIframe" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" style="width: 210px; border-width: 0px; z-index: 1;"&gt;'
  + '&lt;/iframe&gt;'
  + '&lt;/div&gt;';
  
  document.write(_html);
  </code></pre>
  
  <p>Please note the content of <strong>src</strong> in <strong>Iframe</strong> it contains:</p>
  
  <pre><code>src="../test/content.aspx"
  </code></pre>
  
  <p>now i want to pass these parameters that in js string to this <strong>src</strong> as querystring.</p>
  
  <p>the final src should look like :</p>
  
  <pre><code> src="../test/content.aspx?place=us&amp;list=0"
  </code></pre>
  
  <p>I need help as i am a newbie to js.</p>