<tr>
<td><input id="gvFlowList_ctl02_rdoNo" type="radio" name="gvFlowList$ctl02$rdoNo" value="rdoNo" /><label for="gvFlowList_ctl02_rdoNo">1</label></td>
<td>调查</td>
</tr>
如何使用jQuery让该行点击的时候,其中的radio选中?
<td><input id="gvFlowList_ctl02_rdoNo" type="radio" name="gvFlowList$ctl02$rdoNo" value="rdoNo" /><label for="gvFlowList_ctl02_rdoNo">1</label></td>
<td>调查</td>
</tr>
如何使用jQuery让该行点击的时候,其中的radio选中?
解决方案 »
- frame网页取值(在线等!!!!)
- 奇怪好奇怪,谁能帮我分析一下,在线等
- 关于createElement('div')后的onclick事件,不等到不下
- 谁知道怎么做鼠标可以放大缩小图片(不用做放大缩小按钮)像有些网站上看地图 鼠标一圈某个地方 就放大圈某个地方
- 关于读本机的文件内容问题
- 关于checkbox全选和全撤的问题
- test search match这三个方法有什么区别啊?
- 在web下怎么样用JS合并excel的单元格啊
- 那位大哥可以告诉我怎么做出这样的菜单下拉效果???
- yield一个promised 目的是什么?
- 用了setAttribute使inline style没用了?
- 问一个一直不懂的问题
$(this).find(':radio').attr("checked", true);
});
$(this).find("input[type='radio']").attr("checked",true);
})
<script type="text/javascript">
<!--
$(fun);
function fun(){
$("tr").click(function(){
$(this).find(":radio").attr("checked",true);
});
}
//-->
</script>
<td><input id="gvFlowList_ctl02_rdoNo" type="radio" name="gvFlowList$ctl02$rdoNo" value="rdoNo" /><label for="gvFlowList_ctl02_rdoNo">1</label></td>
<td>调查</td>
</tr>function RowClick(tr)
{
tr.cells[0].children[0].click();
}