jQuery: Selecting the inner html of an elemnt with a specific value and assign it to a variable?
<p>I have this code:</p>

<pre><code>&lt;dl class="item-options"&gt;
    &lt;dt&gt;dt1&lt;/dt&gt;
    &lt;dd&gt;dd1&lt;/dd&gt;
    &lt;dt&gt;dt2&lt;/dt&gt;
    &lt;dd&gt;ss2&lt;/dd&gt;
&lt;/dl&gt;
</code></pre>

<p>Now I want to access the dt1 by its content and assign the value from dd1 to it. I am iterating over all the dds in a each loop, so for each dd I access, I want to get the content from the matching dt.</p>

<p>Any ideas how to do that?</p>

<p>Thanks!</p>
