<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){
谢谢了!急着回去写的,一下子没注意,明天改回来
Statement: The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn