b = function(){
Ext.get('a').un('valid',fun_name,this) //第三个参数一般写this或者不填,诸如还有:'blur','focus'
}
Ext.get(
'a'
).on(
'focus'
,b,
this
);
不推荐使用Valid做验证。
b = function(){
Ext.get('a').un('valid',fun_name,this) //第三个参数一般写this或者不填,诸如还有:'blur','focus'
}
Ext.get(
'a'
).on(
'focus'
,b,
this
);
不推荐使用Valid做验证。