我想检查选择的radio输入是什么。这是我的代码。StaffAdminfunctionaddUser(){//howtocheckwhatistheselectedradioinput}谢谢。 最佳答案 functionaddUser(){//howtocheckwhatistheselectedradioinputalert(getCheckedRadioValue('u_type'));}functiongetCheckedRadioValue(name){varelements=document.getElementsByNa