好吧,这真的是一个简单的问题,但我真的无能为力。JavaScript检查单选按钮
基本上所有我有他们的2个单选按钮的形式。
我需要一个JavaScript语句,基本上说
If radiobutton1 is selected then
document.write ("radiobutton1selected")
else if radiobutton2 is selected then
document.write ("radiobutton2selected")
这里对于我接受类似的问题,但他们都是很多比我更需要先进的。
哇...就这么简单。我正在尝试类似的东西,但无法得到它。谢谢你的包装 –