var field = Ext.create("Ext.form.field.Text" , {
listeners:{
blur: function(){
//失去焦点事件
} ,
focus: function(){
//获取焦点
}
}
});

//如果是通过extjs操作当前页面中的input..
//这是Input
//<input type='text' );
a.on({
blur: function(){
//失去焦点事件
} ,
focus: function(){
//获取焦点
}
});

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2021-08-16
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2023-03-19
相关资源
相似解决方案