如何用Javascript操作gridview中的控件
datagrid如下:
asp:GridView ID= "gvDep " runat= "server " AutoGenerateColumns= "False " OnRowCancelingEdit= "gvDep_RowCancelingEdit " OnRowDataBound= "gvDep_RowDataBound " OnRowDeleting= "gvDep_RowDeleting " OnRowEditing= "gvDep_RowEditing " DataKeyNames= "DepID ">
<Columns>
<asp:TemplateField HeaderText= "序号 ">
<EditItemTemplate>
<asp:Label ID= "lbEID " runat= "server " Width= "30px " Text= " <%# Container.DataItemIndex+1 %> "> </asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID= "lbID " runat= "server " Text= " <%# Container.DataItemIndex+1 %> "> </asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText= "上级部门 ">
<EditItemTemplate>
<asp:TextBox ID= "txtFatherDepName " runat= "server " Width= "93px " Text= ' <%# Bind( "FatherDepName ") %> ' ReadOnly= "True "> </asp:TextBox>
<asp:Button ID= "btnChoise " runat= "server " Text= "选择 " />
<br />
&nb