找考题网-背景图
单项选择题

页面中有一组选择性别的单选按钮,代码如下:

下列()能获取第一个单选按钮

A.$(":radio[name=sex]:eq(0)")
B.$("sex[0]")
C.$("#sex[0]")
D.$("[name=sex]:radio")

热门试题