How to access EditItemTemplate control by JQuery/javascript?
<p>A basic example of what i am trying to do:  </p>

<pre class="lang-asp prettyprint-override"><code>&lt;asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="125px" 
    AutoGenerateRows="False" DataKeyNames="id" DataSourceID="SqlDataSource1"
    AllowPaging="True" &gt;
    &lt;Fields&gt;
        &lt;asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" 
            ReadOnly="True" SortExpression="id" /&gt;
        &lt;asp:TemplateField HeaderText="myRow" SortExpression="myRow"&gt;
            &lt;EditItemTemplate&gt;
                &lt;asp:Label ID="Label2" runat="server" Text="Please type row number:"&gt;&lt;/asp:Label&gt;
                &lt;br /&gt;
                &lt;asp:TextBox ID="txtRowNumber" runat="server"&gt;&lt;/asp:TextBox&gt;
                &lt;asp:TextBox ID="TextBox1" runat="server" Text='&lt;%# Bind("myRow") %&gt;'&gt;&lt;/asp:TextBox&gt;
            &lt;/EditItemTemplate&gt;
            &lt;InsertItemTemplate&gt;
                &lt;asp:TextBox ID="TextBox1" runat="server" Text='&lt;%# Bind("myRow") %&gt;'&gt;&lt;/asp:TextBox&gt;
            &lt;/InsertItemTemplate&gt;
            &lt;ItemTemplate&gt;
                &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Bind("myRow") %&gt;'&gt;&lt;/asp:Label&gt;
            &lt;/ItemTemplate&gt;
        &lt;/asp:TemplateField&gt;
        &lt;asp:CommandField ShowDeleteButton="True" ShowEditButton="True" 
            ShowInsertButton="True" /&gt;
    &lt;/Fields&gt;
&lt;/asp:DetailsView&gt;
&lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="&lt;%$ ConnectionStrings:ConnectionString %&gt;" 
    SelectCommand="SELECT * FROM [Table1]" 
    DeleteCommand="DELETE FROM [Table1] WHERE [id] = @id" 
    InsertCommand="INSERT INTO [Table1] ([myRow]) VALUES (@myRow)" 
    UpdateCommand="UPDATE [Table1] SET [myRow] = @myRow WHERE [id] = @id"&gt;
    &lt;DeleteParameters&gt;
        &lt;asp:Parameter Name="id" Type="Int32" /&gt;
    &lt;/DeleteParameters&gt;
    &lt;InsertParameters&gt;
        &lt;asp:Parameter Name="myRow" Type="String" /&gt;
    &lt;/InsertParameters&gt;
    &lt;UpdateParameters&gt;
        &lt;asp:Parameter Name="myRow" Type="String" /&gt;
        &lt;asp:Parameter Name="id" Type="Int32" /&gt;
    &lt;/UpdateParameters&gt;
&lt;/asp:SqlDataSource&gt;
</code></pre>

<p>My question: How can i access properties of the texbox which resides in the EditItemTemplate (<code>txtRowNumber</code>) from JQuery/JavaScript?
many thanks</p>
