juey点击tr选中里面的radio
2016-05-24 15:46
357 查看
//点击一行选中银行卡 $("tr").bind("click",function(){ $("input:radio").attr("checked",false); $(this).find("td").find("input:radio").attr("checked",true) });
默认选中页面的radio中的第一个
$("input:radio").eq(0).attr("checked","checked");
获取页面选中的radio
$("input:radio:checked")
相关文章推荐
- STL之queue
- easyui1.32 各种问题汇总
- 模拟实现英汉字典(使用key/value形式的哈希表)
- 国产数据连接池Druid
- 虚幻4 改变默认UI Disable的Shader
- Django中嵌入ueditor并改进SyntaxHighlighter
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- 1017. Queueing at Bank (25)
- finished with non-zero exit value 2
- STL之deque
- KVC中setValuesForKeysWithDictionary:
- request threaded-only IRQs with IRQF_ONESHOT【转】
- Android高级UI GridView
- iOS-OC-UITableViewCell分割线自定义
- aidl.exe'' finished with non-zero exit value 1问题解决【转载】
- UICollectionViewLayout
- aidl.exe'' finished with non-zero exit value 1问题解决
- iOS学习之——UIView的setNeedsDisplay和setNeedsLayout方法
- easyui页面一打开的时候出现短暂混乱的问题,解决办法
- [BS-26] UIView、pop和Core Animation区别