retrieving $_GET variable in jquery
<p>I have a main page (topic.php) with GET information in the URL, like this:<br></p>

<pre><code>http://studio.byuipt.net/topic.php?topic=Debugger&amp;desc=Helps%20find%20and%20solve%20problems%20with%20others%27%20code.
</code></pre>

<p>I have a div, "currLeader" in topic.php into which I load another page, getCurrLeader.php. getCurrLeader.php is supposed to use the topic variable in the $_GET info of the url to do a mysql search and return the relevant info. The problem is that while, scripts on topic.php are able to successfully use <code>extract($_GET)</code>, I am not able to retrieve any variables out of the getCurrLeader.php <code>extract($_GET)</code> statement. I thought both pages would be able to access the currently showing url. Is there another way I can get this information out of the current url?</p>

<p>(consequently, the "topic" info is actually present in an element with an id on the page, and I'm able to successfully retrieve it using jquery, but I can't figure out a way to then, within the same file, pass that value to my php script).</p>
