<input type="radio" name="ProducePrice" value="1" onclick="test(this)" /> <input type="radio" name="ProduceColor" id="ProduceColor" value="1" /> //js部分 funcion test(obj){ if(obj.checked){ document.getElementById('ProduceColor').checked = true; } }