title: Obtain Type of object in gridview rows
body: <p>I have a gridview  </p>
  
  <pre><code>&lt;asp:GridView ID="gvAgencyName" runat="server" AutoGenerateColumns="False" Width="212px" OnPageIndexChanging="gvAgencyName_PageIndexChanging"&gt;
      &lt;HeaderStyle HorizontalAlign="Left" Font-Bold="True" ForeColor="#494949"&gt;&lt;/HeaderStyle&gt;
      &lt;RowStyle HorizontalAlign="Left" /&gt;
      &lt;asp:TemplateField HeaderStyle-Width="1%" HeaderStyle-HorizontalAlign="Left"&gt;
          &lt;HeaderTemplate&gt;
              &lt;asp:CheckBox ID="cbxHeader1" runat="server" Visible="false" Enabled="false" /&gt;
          &lt;/HeaderTemplate&gt;
          &lt;ItemTemplate&gt;
              &lt;asp:CheckBox ID="cbx" runat="server" /&gt;
          &lt;/ItemTemplate&gt;
      &lt;/asp:TemplateField&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>I need a Javascript which will return the type of the object and its status(In case of checkbox), wether its checked or unchecked.
  Please Help..</p>