- 注册时间
- 2013-5-3
- 最后登录
- 2024-11-14
- 阅读权限
- 150
- 积分
- 32962
- 精华
- 0
- 帖子
- 14365
|
- var selects;
- function onButtonEdit(e) {
- var btnEdit = this;
-
- mini.open({
- url: bootPATH + "../demo/CommonLibs/MultiSelectGridWindow3.html",
- title: "跨页多选列表",
- width: 650,
- height: 380,
- onload:function(){
- top["win"].tttt(selects);
- },
- ondestroy: function (action) {
-
- if (action == "ok") {
- var iframe = this.getIFrameEl();
-
- var data = iframe.contentWindow.GetData();
- data = mini.clone(data);
-
- selects = data.result; //选择好销毁的时候把结果存到一个全局变量里面
-
- btnEdit.setValue(data.id);
- btnEdit.setText(data.text);
- }
- }
- });
-
- }
复制代码
|
|