jquery的选择器的使用技巧之如何选择input框

网络编程 发布日期:2025/11/20 浏览次数:1

正在浏览:jquery的选择器的使用技巧之如何选择input框
下面的方法是选择name是redthree的 并且选中了的input 里面的 title属性的内容 <input name="redTrdd" title='xiaoming'>
复制代码 代码如下:
xtest = $(":input[name='radThree'][checked]").attr("title");