我有两个单选按钮,允许用户选择是或否:
add_radiobutton('option_cell', 1, {
"this_class" : "my_radio",
"text" : "YES",
"text_class" : "radio_label",
"name" : "yes_no_radio"
})
add_radiobutton('option_cell', 2, {
"this_class" : "my_radio",
"text" : "NO",
"text_class" : "radio_label",
"name" : "yes_no_radio"
})
如何检查单选按钮是否被选中?