var win = this.iframe.contentwindow;//获取当前iframe所在的window对象。 var doc = win.document;//得到document对象。var checked = win.$('#mycustormergridtable').datagrid('getchecked');//获取子页面选中的行 for (var i = 0; i < checked.length; i++) { if (selectedids.indexof(checked[i].custno) == -1) { selectedids.push(checked[i].custno); } }
更多相关教程请访问 javascript视频教程
