Extjs 取消backspace事件
2021-05-17 13:27
标签:== only readonly get ace text type cti prevent Ext.getDoc().on(‘keydown‘,function(e){ }else if(e.getKey() == 8 && e.getTarget().type ==‘textarea‘ && !e.getTarget().readOnly){ }else if(e.getKey() == 8){ Extjs 取消backspace事件 标签:== only readonly get ace text type cti prevent 原文地址:http://www.cnblogs.com/myknow/p/7742651.html
if(e.getKey() == 8 && e.getTarget().type ==‘text‘ && !e.getTarget().readOnly){
e.preventDefault();
}
});
下一篇:保存单文件为mhtml
文章标题:Extjs 取消backspace事件
文章链接:http://soscw.com/index.php/essay/86726.html