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

Danica ·
更新时间:2024-09-20
· 667 次阅读

下面的方法是选择name是redthree的 并且选中了的input 里面的 title属性的内容 <input name="redTrdd" title='xiaoming'>
代码如下:
xtest = $(":input[name='radThree'][checked]").attr("title");



选择器 input框 选择 技巧 jQuery input

需要 登录 后方可回复, 如果你还没有账号请 注册新账号