Retrieve a URL of a frame
<p>If I get a link </p>

<p><code>&lt;a href="/Users/ChangePassword.aspx" target="mainFrame"&gt;</code> in fraTopMenu, what 
(1) javascript can I add to get the current <strong>mainFrame's URL</strong> upon clicking the link and 
(2) append the URL to the querystrings?</p>

<pre><code>&lt;frameset rows="60,*" cols="*" frameborder="no" border="0" framespacing="0"&gt;
      &lt;frame src="/Common/Manager/TopMenu.aspx"  name="fraTopMenu" scrolling="no" noresize="noresize" id="fraTopMenu" title="" /&gt;
      &lt;frameset rows="*" cols="185,*" framespacing="0" frameborder="no" border="0"&gt;
        &lt;frame src="..." name="leftFrame" id="leftFrame" title="" /&gt;
        &lt;frame src="..." name="mainFrame" id="mainFrame" title="" /&gt;
      &lt;/frameset&gt;
    &lt;/frameset&gt;
</code></pre>

<p>Thank you.</p>
