How do you read inner element values in a div according to main div?
<p>I want to read each value of <code>select and textarea elements</code> in every div(refer0 and refer1) according to <code>MainContainer</code> div. the <code>refer0 and refer1</code> will create dynamically runtime and I don't know their ids. but <code>MainContainer div element</code> is static.</p>

<pre><code>  &lt;div id="MainContainer"&gt;

    &lt;div id="Rfer0"&gt;
    &lt;select id="LstRefer0" &gt;
    &lt;option value="52"&gt;a&lt;/option&gt;
    &lt;option value="116"&gt;b&lt;/option&gt;
    &lt;/select&gt;
    &lt;textarea class="textbox" id="Area0" readonly="readonly" cols="20" rows="2" &gt;&lt;/textarea&gt;
    &lt;/div&gt;

    &lt;div id="Rfer1"&gt;
    &lt;select id="LstRefer1" &gt;
    &lt;option value="52"&gt;a&lt;/option&gt;
    &lt;option value="116"&gt;b&lt;/option&gt;
    &lt;/select&gt;
    &lt;textarea class="textbox" id="Area1" readonly="readonly" cols="20" rows="2" &gt;&lt;/textarea&gt;
    &lt;/div&gt;


    &lt;/div&gt;
</code></pre>
