Hi,
I have td in tr and table using repeater control (like this)
<td style="display:none">
<b><span> <input type="text" id="txtlibvalue" value="<%#
((Dejavu.BL.clsDocuments)Container.DataItem).libraryType %>" /></span> </b>
</td>
how can I get the value of "txtlibvalue" control using jquery…
full code is:
<table id="tbldocApproved" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">
<thead>
<tr>
<tr>
<%-- <th class="th-sm">S.no
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>--%>
<th>
<input type="checkbox" class="chkHeader" id="chkhead" onclick="checkAll(this);" />
</th>
<th class="th-sm">Document Name
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Doc Type
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Section
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Status
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Uploaded By
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
</th>--%>
<th>
<input type="checkbox" class="chkHeader" id="chkhead" onclick="checkAll(this);" />
</th>
<th class="th-sm">Document Name
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Doc Type
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Section
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Status
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Uploaded By
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Upload On
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Uploaded On
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm" style="display:none"> Library
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm">Uploaded On
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<th class="th-sm" style="display:none"> Library
<i class="fa fa-sort float-right" aria-hidden="true"></i>
</th>
<%-- <th style="text-align: left" class="th-sm" id="th_downlaod">Approved</th>
<th style="text-align: left" class="th-sm" id="th_shared">Rejected</th>--%>
</tr>
</thead>
<tbody>
<asp:Repeater ID="rptApprovedDoc" runat="server">
<ItemTemplate>
<tr id="tr_<%#((Dejavu.BL.clsDocuments)Container.DataItem).DocID%>">
<td>
<input type="checkbox" id="<%#((Dejavu.BL.clsDocuments)Container.DataItem).DocID%>" class="chkItem" />
</td>
<td>
<b><span><a href="<%# ((Dejavu.BL.clsDocuments)Container.DataItem).documenturl%>" target="_blank"><%# ((Dejavu.BL.clsDocuments)Container.DataItem).DocName %> </a></span></b>
</td>
<td>
<b><span><%# ((Dejavu.BL.clsDocuments)Container.DataItem).DocType %></span></b>
</td>
<td>
<b><span><%# ((Dejavu.BL.clsDocuments)Container.DataItem).Deptname %></span></b>
</td>
<td>
<b><span id="span_<%#((Dejavu.BL.clsDocuments)Container.DataItem).DocID%>"><%# ((Dejavu.BL.clsDocuments)Container.DataItem).Docstatus %></span></b>
</td>
<td>
<b><span><%# ((Dejavu.BL.clsDocuments)Container.DataItem).username %></span></b>
</td>
<td>
<b><span><%# ((Dejavu.BL.clsDocuments)Container.DataItem).DateuploadDoc %></span></b>
</td>
<td>
<b><span><%# ((Dejavu.BL.clsDocuments)Container.DataItem).DateapprovedDoc %></span></b>
</td>
<td style="display:none">
<b><span> <input type="text" id="txtlibvalue" value="<%# ((Dejavu.BL.clsDocuments)Container.DataItem).libraryType %>" /></span> </b>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>