title: How can I get checkbox value inside gridview into texbox using javascript?
body: <p>I have a checkbox inside a gridview like this</p>
  
  <pre><code>&lt;asp:GridView ID="GridView1" runat="server" BorderColor="Blue" BorderWidth="1px" CellPadding="4" Font-Size="Small" ForeColor="#333333" GridLines="None" Width="165px"&gt;
    &lt;Columns&gt;
       &lt;asp:TemplateField&gt;
          &lt;EditItemTemplate&gt;
           &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
          &lt;/EditItemTemplate&gt;
       &lt;ItemTemplate&gt;
  
      &lt;asp:CheckBox ID="CB"  runat="server" /&gt;
     &lt;/ItemTemplate&gt;
    &lt;/asp:TemplateField&gt;
  &lt;/Columns&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want to get a value of checked textbox into another textbox which is outside gridview using javascript.</p>