用于获取asp.net中网格视图中最后一条记录的控制值的jquery [英] jquery for getting the control values on last record in grid view in asp.net
本文介绍了用于获取asp.net中网格视图中最后一条记录的控制值的jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
heyy ..
如何获取asp.net中网格视图中最后一条记录的控件值..
任何jquery为此..?
heyy..
how to get the controls value that placed on last record in grid view in asp.net ..
Any jquery for this ..?
推荐答案
这是如何:http://api.jquery.com/last-child-selector/ [ ^ ]。
它将帮助您找到最后一行,应该是一个< tr>
元素,其父元素是< table>
或< tbody>
:
http://www.w3schools。 com / html / html_tables.asp [ ^ ],
http://www.w3schools.com/tags/tag_tbody.asp [ ^ ]。
剩下的步骤取决于行的结构和应该不是问题。无论如何,寻找所有jQuery 选择器:
http:// api .jquery.com / category / selectors / [ ^ ]。
祝你好运,
-SA
This is how: http://api.jquery.com/last-child-selector/[^].
It will help you to find a last row, which should be a<tr>
element, and its parent element is either<table>
or<tbody>
:
http://www.w3schools.com/html/html_tables.asp[^],
http://www.w3schools.com/tags/tag_tbody.asp[^].
The remaining step depends on a structure of your row and should not be a problem. Anyway, look for all the jQuery selectors:
http://api.jquery.com/category/selectors/[^].
Good luck,
—SA
这篇关于用于获取asp.net中网格视图中最后一条记录的控制值的jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文