title: jQuery pass url variable into load function
body: <p>I'm trying to use load to reload a portion of the current page (long story why) but am having an issue with the variable syntax.</p>
  
  <p>Here is the snippet of code:</p>
  
  <pre><code>var pathname = window.location.pathname;
  $('#menu').load("/cms.php #menu");
  </code></pre>
  
  <p>I woudl like to replace /cms.php with the variable, but am having issues with the corrent syntax.</p>
  
  <p>Any help/advice would be much appricated.</p>
  
  <p>A.</p>