js 获取iframe内容 var win = document.getElementById('frmid').contentWindow; var frmobj = win.document.getElementById('控件ID');