title: Escaping variables for a function call?
body: <p>In a function, i am building a string. The string is some content for a popup (google maprs info window).
  The code looks like this;</p>
  
  <pre><code>var windowcontent = "&lt;strong&gt;Something&lt;/strong&gt;&lt;br/&gt;" + somethingVar + "&lt;br/&gt;&lt;br/&gt;";
  windowcontent += "&lt;a href='javascript:goto('\"+var1+\"','\"+var2+\"');'&gt;Goto&lt;/a&gt;";
  </code></pre>
  
  <p>The problem is the link and the variables i want to include in the function call.
  Whatever i try, i cant seem to get it to work. I know it is something with escaping the correct way, but i have not found the correct way yet, it seems.</p>
  
  <p>How should the string, with the link in it, look?</p>