- 注册时间
- 2012-12-27
- 最后登录
- 2012-12-27
- 阅读权限
- 10
- 积分
- 11
- 精华
- 0
- 帖子
- 4
|
这里报错,找不到form.请问如何解决?
界面
- function edit2() {
- var row1 = fac_grid.getSelected();
- var row3 = req_grid.getSelected();
- if (row1 && row3) {
- mini.open({
- url: "webPager/FacultyWindow.htm",
- title: "编辑员工", width: 600, height: 360,
- onload: function () {
- var iframe = this.getIFrameEl();
- var data = { action: "edit", id: row.id };
- iframe.contentWindow.SetData(data);
- },
- ondestroy: function (action) {
- fac_grid.reload();
- }
- });
- } else {
- alert("请选中一条记录");
- }
- }
-
复制代码
|
|