<div class="codetitle"> <span><a style="CURSOR: pointer" data="51530" class="copybut" id="copybut51530" onclick="doCopy('code51530')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code51530"> <br>var oCombo = window.parent.frames["frmresourcees["frmresources".documentument .getElementById('cmbType') ; 取得父frame元素<br>var oCombo = window.frames["frmresourcetype"].document.getElementById('cmbType') ; 取得子frame元素<br> </div>