js学习进阶
chengchen404
这个作者很懒,什么都没留下…
展开
-
initCompent()和构造函数(constructor)
initComponent这个方法是在Ext.Component的构造函数(constructor)中调用的,只有直接或间接继承自 Ext.Component的类才会在constructor里调用initComponent方法。 我们知道,Ext的UI组件有一个initCompent()方法。 这个方法定义在UI组件顶级类Component中,在Component的构造函数中会调用转载 2016-03-04 19:14:33 · 1537 阅读 · 0 评论 -
a标签重新打开窗口
http://www.baidu.com" target="_Blank">百度 _Blank是新窗口 _Self是自身 _Parent是父窗口 _Top是顶层窗口 当然也可以是自己定义的一个frame 的名字 比如 http://www.baidu.com" target="frame1">百度 -----------------------转载 2016-04-01 17:01:02 · 5967 阅读 · 0 评论 -
oninput 、onpropertychange 、addEvent思考
1. onchange事件与onpropertychange事件的区别: onchange事件在内容改变(两次内容有可能相等)且失去焦点时触发;onpropertychange事件是实时触发,每增加或删除一个字符就会触发,通过js改变也会触发该事件,但是该事件是IE专有。 2. oninput事件与onpropertychange事件的区别: oninput事件是IE之外原创 2016-04-08 15:17:34 · 941 阅读 · 0 评论 -
extjs学习与进阶
一、先认识一下 extjs的面向对象技术 点击打开链接构建 Ext JS 扩展和插件 二、接着来讨论下作用域 : 第一个能成功触发,但第二个用了this却没起作用 2013-08-10 13:54 提问者采纳 第二个this指的是当前id为'viewAll‘的对象 追问原创 2016-03-04 16:02:21 · 565 阅读 · 0 评论