get an iframe's "src" value in PHP?
<p>I have an iframe on my page, where on click (a menu) will update the iframe with a new URL depending on what menuitem they select.</p>

<p>I do that by calling javascript function on 'onclick' passing the URL from the menu :</p>

<pre><code>   function frameclick(pageurl)
     {
            $("#iFrame1").attr('src', pageurl);         
     }
</code></pre>

<p>What i would like to do whenever they press a menuitem is to store what iframe is loaded, because i have another button (select page language) and when they press that i want to reload the page but pass on the iframe-url that is currently displayed as a variable in the site url.</p>

<p>Since PHP is serverside and JS is clientside, i cannot do ex. "$current_iframe_url = pageurl" - which would have enabled me to pass it on as a variable on refresh.</p>

<p>You know how i could get around this ?</p>

<p>That works fine.</p>

<p>What i want to do now, is to whenever they click a menuitem i want to store that URL </p>
