|

楼主 |
发表于 2018-11-20 17:36:42
|
显示全部楼层
你好,我使用如下方法生成的select,如何添加 onChChange 事件
var parentNode = this.getElementByXid("content2");
var options = {
parentNode : parentNode,
xid : 'select1',
class : "form-control x-edit",
'bind-ref' : "data2.ref('fName')",
'bind-options' : "data1.datas",
'bind-optionsLabel' : "fName",
'bind-optionsValue' : "fValue"
};
new select(options); |
|