<div class="codetitle"> <span><a style="CURSOR: pointer" data="79891" class="copybut" id="copybut79891" onclick="doCopy('code79891')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code79891"> <br>if( document.getElementById("div").css("play"). ")==='none') <br><br>if( document.getElementById("div").css("display")==='block') <br><br>$("#div ").is(":hidden"); // 判斷是否隱藏<br><br>$("#div").is(":visible") <br> </div>