Jquery Grid Checkbox value
<p>Hi all I have grid with a checkbox column and made disabled. and a column with image button, when I click the image button, the corresponding check value of the checkbox in the row should be fetched.</p>

<p>This is my grid,</p>

<pre><code>                &lt;asp:TemplateField HeaderText="Status" ItemStyle-Width="10%"&gt;
                    &lt;ItemTemplate&gt;
                        &lt;asp:CheckBox ID="chkStatus" runat="server" Checked='&lt;%# Eval("Deleted") %&gt;'  Text="InActive" /&gt;
                    &lt;/ItemTemplate&gt;
                &lt;/asp:TemplateField&gt;
                &lt;asp:TemplateField HeaderText="Options" ItemStyle-Width="10%"&gt;
                    &lt;ItemTemplate&gt;
                        &lt;asp:ImageButton ID="ImageButton1" CommandName="Edit" ImageUrl="images/Edit.gif"
                            OnClick='&lt;%# Eval("ID", "ShowEditBox({0});return false;") %&gt;' runat="server"
                            ToolTip="Edit" /&gt;
                        &lt;asp:ImageButton ID="imgDelete" CommandName="Delete" ImageUrl="images/Delete.gif"
                            OnClientClick='&lt;%# Eval("ID", "DeleteRecord({0});return false;") %&gt;' runat="server"
                            ToolTip="Active/InActive" /&gt;
                    &lt;/ItemTemplate&gt;
                &lt;/asp:TemplateField&gt;
</code></pre>

<p>Below is the Jquery method,</p>

<pre><code>function ShowEditBox(id) 
{
    $("#divEditBox").slideDown("medium");
    var pid = 'PName' + id;
    var colIndex = 0;

    var $tr = $("#" + pid).parent().parent();
    $tr.find('td').each(function() {
        if (colIndex == 1) {
            $("#txtGroupName").val($(this).text());
        }
        if (colIndex == 2) {

            if (this.checked) { alert("true"); } else { alert("false"); } 

//            
//            alert($('#' + '&lt;%= chkStatus.ClientID %&gt;').is(':checked'));
//            alert($(this).text());
        }
        colIndex++;
    })
    $("#editId").val(id);
    $("#lblPopTitle").text("Modify Group");
}
</code></pre>

<p>when i click the edit button the showedit() jquery method always return the checkbox value as false.</p>

<p>anybody please help me on this....
thanks</p>
