Set input values according to children of the parent div
<p>given series of DIVs w/unique ID as in: </p>

<pre><code>&lt;div id="2988"&gt;
    &lt;div class="site"&gt;YaHoot.com&lt;/div&gt;
    &lt;div class="logo"&gt;/images/yahootLogo.jpg&lt;/div&gt;
//[and so on]
    &lt;input type="button" value="YaHoot" onclick="javascript:processMe('2988');" /&gt;
&lt;/div&gt;

//[followed by bunches more divs repeating that structure]
</code></pre>

<p>I'm trying to code a click handler that can map a form's hidden fields with the contents of each of the child DIVs. </p>

<p>In other words, the form has a hidden field:</p>

<pre><code>&lt;input type="hidden" name="logo"&gt; 
</code></pre>

<p>that should be valued with <strong>/images/yahootLogo.jpg</strong> when the given button is clicked.</p>

<p>thx</p>
