下面的方法是选择name是redthree的 并且选中了的input 里面的 title属性的内容 <input name="redTrdd" title='xiaoming'>
xtest = $(":input[name='radThree'][checked]").attr("title");
本文介绍了一种使用jQuery选择已选中的特定名称的input元素,并从中获取其title属性的方法。
下面的方法是选择name是redthree的 并且选中了的input 里面的 title属性的内容 <input name="redTrdd" title='xiaoming'>
xtest = $(":input[name='radThree'][checked]").attr("title");

被折叠的 条评论
为什么被折叠?
