How to get a specific frame within a frameset using jQuery?
<p>My main page:</p>

<pre><code>&lt;FRAMESET&gt;
&lt;FRAMESET &gt;
    &lt;FRAME name="menu" src=&lt;%=menu%&gt;&gt;
    &lt;FRAME marginWidth="0" src=&lt;%=bottom%&gt; &gt;
&lt;/FRAMESET&gt;
&lt;FRAMESET&gt;
    &lt;FRAME src=&lt;%=title%&gt;&gt;
    &lt;FRAME name="main"src=&lt;%=main%&gt;&gt;
&lt;/FRAMESET&gt;
</code></pre>

<p></p>

<p>I want to get the menu frame using the <code>name attribute</code> selector instead of the <code>frames[index]</code>, so I want to replace the static selector:</p>

<p><code>window.parent.frames[0].document</code></p>

<p>for something with jQuery using name attr.</p>
