【发布时间】:2012-12-14 14:22:16
【问题描述】:
我有一个名为“rgExpandCol”的类的 td,并且想要更改其中的输入类。下面是我的html:
<tr>
<td class="rgExpandCol">
<input class="rgExpand" ...
</td>
<tr>
我已经尝试过这个 jquery,但我得到 $find 为空:
$(this).closest('td').attr('rgExpand', 'rgCollapse');
编辑 :::
基本上是在使用radgrid 并扩展使用
$(this).closest('tr').next('tr').css('display', '');
并且 $(this) 在我的网格点击事件中是这样的
$("#<%=gv.ClientID%> tr:has(td)").click(function (e) {
【问题讨论】:
标签: jquery asp.net class attributes