![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
日子好的呢
Java不是那么简单的
展开
-
jQuery mouseover与mouseenter,mouseout与mouseleave的区别
mouseover与mouseenter 不论鼠标指针穿过被选元素或其子元素,都会触发 mouseover 事件。 只有在鼠标指针穿过被选元素时,才会触发 mouseenter 事件。 mouseout与mouseleave 不论鼠标指针离开被选元素还是任何子元素,都会触发 mouseout 事件。 只有在鼠标指针离开被选元素时,才会触发 mouseleave 事转载 2016-03-03 09:02:43 · 234 阅读 · 0 评论 -
文本框失去焦点事件、获得焦点事件
onBlur:当失去输入焦点后产生该事件 onFocus:当输入获得焦点后,产生该文件 Onchange:当文字值改变时,产生该事件 Onselect:当文字加亮后,产生该文件 onpropertychange 当属性改变发生该事件 无论粘贴 keyup onchange等,最为敏感转载 2016-03-26 17:50:33 · 1160 阅读 · 0 评论 -
jquery复选框 选中事件 及其判断是否被选中
$(":checkbox").change(function () { if($(this).is(':checked')){ $(this).parent("span").css({ "color":"#50A0F8" }) }else{ $(this).parent("span").css({转载 2016-03-26 17:52:56 · 11642 阅读 · 0 评论 -
jquery 对象级插件写法
;(function($){ $.fn.pluginName = function(options){ var defaults = { //自定义默认的各种参数 evenRowClass:"evenClass", oddRowClass:"oddClass", currentR转载 2016-04-18 11:06:15 · 592 阅读 · 0 评论