Finding an div in JQuery
<p>this is what i am working on this is a rough design and now sure it will come when i post it.</p>

<pre><code>--------------------------------------------------------------------

first name goes here.....
---------------------------------------------------------------------
datetime                                          buttons
---------------------------------------------------------------------
</code></pre>

<p>the below code works if using with <code>tr</code> but now i am using the <code>divs</code> what exaclty do i need to put, <code>div id</code>?</p>

<pre><code> &lt;script type="text/javascript"&gt;
        function OnSave(obj) {
        debugger
            // Find the row this button is in
            var tr = $(obj).closest("tr");
            // Get the value from the edit control
            var firstNameEdit = tr.find("[id*='firstNameEdit']").val();
            // assign value to hidden input
            tr.find("[id*='firstNameHidden']").val(firstNameEdit);
            var lastNameEdit = tr.find("[id*='lastNameEdit']").val();
            tr.find("[id*='lastNameHidden']").val(lastNameEdit);
        }
    &lt;/script&gt;
</code></pre>

<p>here is my new html code with div:</p>

<pre><code>&lt;div class='columns'&gt;
&lt;div class='subj'&gt; 
&lt;div id="container"&gt;
      &lt;asp:PlaceHolder runat="server" ID="firstNameEditPlaceholder" /&gt;
      &lt;input type="hidden" runat="server" id="firstNameHidden" visible="false" /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &lt;div id="left"&gt;&lt;/div&gt;
 &lt;!-- left --&gt;
 &lt;div id="right"&gt;&lt;/div&gt;
 &lt;!-- right --&gt;
 &lt;div class="clear"&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;!-- container --&gt;
 &lt;/div&gt;
 &lt;/div&gt;
</code></pre>
