$(".curr_play").position().left //元素距离父级元素左侧位置$(".curr_play").offset().left //元素距离浏览器左侧位置 Read More
posted @ 2015-03-02 14:09
soft.push("zzq")
Views(129)
Comments(0)
Diggs(0)
exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reconfigureselect * from Product p inner joinope... Read More
posted @ 2015-03-02 14:08
soft.push("zzq")
Views(169)
Comments(0)
Diggs(0)
1.事件冒泡流(从注册事件元素到外侧容器元素的过程);2.事件捕获流(与冒泡相反的过程); Read More
posted @ 2015-03-02 14:06
soft.push("zzq")
Views(132)
Comments(0)
Diggs(0)
1.Dom0级事件: 注册obj.onclick=function () {}; (1.使用简单,2.跨浏览器); 删除obj.onclick=null;2.Dom2级事件(比0级优点:多个处理函数不会被覆盖): 成员 -> addEventListener注册事件 removeEventList... Read More
posted @ 2015-03-02 14:04
soft.push("zzq")
Views(213)
Comments(0)
Diggs(0)
JS的属性和C#有相似之处 !使用get和set来进行属性的获取和设置var obj={ a:"1", get age(){ return obj.a; }, set age(value){ obj.a=value; } }; onload = function() { aler... Read More
posted @ 2015-03-02 14:00
soft.push("zzq")
Views(173)
Comments(0)
Diggs(0)
我们大家都知道onchange有时候很不好用,因为onchange事件是离开焦点后才会被触发,而不是实时去监听! 那么oninput()事件和onpropertychange()完美的解决了问题;(onpropertychange是IE版本的专利) 在jquery中只有IE8和IE8以下的低版本支持 Read More
posted @ 2015-03-02 13:57
soft.push("zzq")
Views(335)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号