<script> <br /> function one(id) <br /> { <br /> if(document.getElementById("choice_key").checked && document.getElementById("choice_CH").checked){ <br /> if(id=="choice_CH"){document.getElementById("choice_key").checked=false;document.getElementById("choice_CH").checked=true;} <br /> if(id=="choice_key"){document.getElementById("choice_CH").checked=false;document.getElementById("choice_key").checked=true;} <br /> } <br /> } <br />function Find(){ <br /> if(document.getElementById("choice_key").choiced){ <br /> document.getElementById("Fkey").value=document.getElementById("findKeyOrCH").value; <br /> } <br /> if(document.getElementById("choice_CH").choiced){ <br /> document.getElementById("Fvalue").value=document.getElementById("findKeyOrCH").value; <br /> } <br /> <br /> } <br /></script>
key:
中文:
回复讨论(解决方案)
if(document.getElementById("choice_key").choiced){
if(document.getElementById("choice_key") .checked){
谢谢了!急着回去写的,一下子没注意,明天改回来