<div class="codetitle"> <span><a style="CURSOR: pointer" data="75222" class="copybut" id="copybut75222" onclick="doCopy('code75222')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code75222"> <br>// jquery对象转js对象 <br>$('#search')[0].checked=true; <br>// js对象转jquery对象 <br>var obj = document.getElementById('search'); <br>alert($(obj).checked); <br> </div>