📄 radio-poll.js
字号:
// a function to discover which radio button is selected
function radio_poll()
{
// loop through all radio buttons
for(var i=0; i < window.document.forms.f.rad.length; i++)
{
// if the radio is selected, use its value
if( document.forms.f.rad[i].checked )
document.body.style.background=document.forms.f.rad[i].value;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -