JS如何判断单个radio是否被选中 只有1个radio 默认为不选中。 1. 2. 用这个 1. if(document.getElementById("radio").checked) { alert("选中"); } 1. 2. 3. 获得 1.