title: JQuery - appending variable to URL, and use it in a href
body: <p>I can't figure this one out... </p>
  
  <p>Could someone please help me en explain how it works to? </p>
  
  <p>Goal:
  Adding a variable to a hard-coded URL, and put the new string into a href</p>
  
  <p>Example:</p>
  
  <pre><code>var x = "1000";
  var y = "http://www.google.com"
  var result = y + x;
  
  &lt;a href="! the value of result !"&gt;click here...&lt;/a&gt;
  </code></pre>
  
  <p>Edit i'm sorry i meant y + x ofcourse...</p>