howto get $('input[name=...]').val() from $('form')[...];
<p>This my html code</p>

<pre><code>&lt;div id="list_refer_1"&gt;
   &lt;form id="refer_1_0"&gt;
      &lt;input type="hidden" name="channel" value="1"&gt;
      &lt;input type="hidden" name="url" id="input_1_0" value="http://localhost:8000/"&gt;
      &lt;input type="button" onclick="pullrefer(1, 0);" value=" -  "&gt; 
      http://localhost:8000/ 
   &lt;/form&gt;
   &lt;form id="refer_1_xxxxx"&gt;   ///xxxxx is timestamp
      &lt;input type="hidden" name="channel" value="1"&gt;
      &lt;input type="hidden" name="url" id="input_1_1" value="http://127.0.0.1:8000/"&gt;
      &lt;input type="button" onclick="pullrefer(1, 1);" value=" -  "&gt; 
      http://127.0.0.1:8000/ 
   &lt;/form&gt;
   &lt;form id="refer_1_2"&gt;
      &lt;input type="hidden" name="channel" value="1"&gt;
      &lt;input type="hidden" name="url" id="input_1_2" value="http://localhost*"&gt;
      &lt;input type="button" onclick="pullrefer(1, 2);" value=" -  "&gt; 
      http://localhost* 
   &lt;/form&gt;
   ...
</code></pre>

<p>i can get value by </p>

<pre><code>$('#list_refer_1 #refer_1_0 input[name=url]').val();
</code></pre>

<p>but i want get</p>

<pre><code>$('input[name=url]').val() from $('#list_refer_1 **form**')**[1]**;
</code></pre>

<p>howto get it?
Thank you.</p>
