- 注册时间
- 2016-6-20
- 最后登录
- 2024-8-18
- 阅读权限
- 10
- 积分
- 463
- 精华
- 0
- 帖子
- 73
|
felt 发表于 2020-9-18 15:13
onclick="showWin(e,400,200)"
还是不行啊
我的方式是这样的
var s = '<input name="educationSchool" value="EducationSchoolId_VALUE" text="EducationSchoolName_VALUE" required="false" allowInput="false" class="mini-buttonedit w100" onclick="showSchoolWin(e,300,500)" />';
然后 mini.parse();
调用 var showSchoolWin = function (e,$w,$h) {
var btnEdit = e.sender;
}
报错
Uncaught ReferenceError: e is not defined
at eval (eval at <anonymous> (eval at o0o01 (miniui.js:11492)), <anonymous>:1:15)
at eval (<anonymous>)
at o0o0ol.eval (eval at o0o01 (miniui.js:11492), <anonymous>:3:87)
at o0o0ol.llo1 [as fire] (miniui.js:11482)
at o0o0ol.oOOO1 [as O1oO0] (miniui.js:12682)
at HTMLSpanElement.<anonymous> (miniui.js:17057)
at HTMLSpanElement.dispatch (jquery-1.11.3.js:4670)
at HTMLSpanElement.elemData.handle (jquery-1.11.3.js:4338)
|
|