foreach through div
<p>I have got some trouble about doing an loop through the following construct:</p>

<pre><code>&lt;div id="items"&gt;
    &lt;p id="test1"&gt;
        &lt;select  name="1" id="1"&gt;&lt;option&gt;A&lt;/option&gt;&lt;option selected&gt;B&lt;/option&gt;&lt;/select&gt;
        &lt;input type="text" name="to" id="to"&gt;
        &lt;input type="text" name="away" id="awy"&gt;
    &lt;/p&gt;
    &lt;p id="test2"&gt;
        &lt;select  name="2" id="2"&gt;&lt;option&gt;A&lt;/option&gt;&lt;option selected&gt;B&lt;/option&gt;&lt;/select&gt;
        &lt;input type="text" name="to" id="to"&gt;
        &lt;input type="text" name="away" id="awy"&gt;
    &lt;/p&gt;
    &lt;p id="test3"&gt;
        &lt;select  name="3" id="3"&gt;&lt;option&gt;A&lt;/option&gt;&lt;option selected&gt;B&lt;/option&gt;&lt;/select&gt;
        &lt;input type="text" name="to" id="to"&gt;
        &lt;input type="text" name="away" id="awy"&gt;
    &lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>I need to run through test1, test2 and test3 and read the selected option and the values of the text-fields (select, to,away). Doing this if i got only one thing in for example test1 is no problem with query: </p>

<pre><code>$('#items').children('p').each(function () {...}
</code></pre>

<p>But if i add the two text-fields and want to do this for each test (1-3) I have no idea...</p>

<p>Any idea?
Thanks!</p>
