title: Append a javascript variable to url
body: <p>I am calling a url from javascript. I want to append my javascript variable as a parameter.</p>
  
  <p>I tried following but its not working. The name is the parameter that has issue</p>
  
  <pre><code>var name='myName';
  
  var url = '&lt;%=request.getContextPath()%&gt;/wizards/script/add_script_wizard1.faces?organizationKey=&lt;%=request.getAttribute("organizationKey")%&gt;&amp; name=+name+';
  </code></pre>
  
  <p>Please help</p>