title: How do you use the jquery 'load' method to load a page fragment when passing a variable?
body: <p>Not sure if this has been asked, but here it goes, given the following code...</p>
  
  <pre><code>$('#infoPane').load('showInfo.php #info');
  </code></pre>
  
  <p>How do a pass variable to the page yet only just load the page fragment?</p>
  
  <pre><code>$('#imgPane').load('showInfo.php?q='+$q+ '#picture');
  </code></pre>
  
  <p>The above code does not work so any help would be appreciated</p>