|
您好:
var dialog = o2.DL.open({
"style": "o2",
"title": "弹出框标题",
"width": "400",
"height": "200",
"isMax": false,
"isClose": true,
"isResize": true,
"isMove": true,
"isTitle": true,
"offset": { "x": -200, "y": -100 },
"mask": true,
"content": new Element("div888"),
"container": this.form.getApp().content,
"duration": 200,
"buttonList": [
{
"text": "确定",
"action": function (data) {
debugger
-------------------------------------------获取myInput999的值 这里怎么取值呢,
-------------官网 var value = this.node.getElement("input").get("value");,取不到
dialog.close();
}.bind(this)
},
{
"text": "取消",
"action": function () {
dialog.close();
}.bind(this)
}
],
"onPostLoad": function () {
console.log("-onPostLoad-");
new Element("div", {id: "div199"}).adopt(
new Element("p", {text: "这是内容区域"}),
new Element("input", {type: "text", name: "myInput999"})
).inject(this.content);
// ...code...
},
})
|
|