jQuery
denialyii
这个作者很懒,什么都没留下…
展开
-
(function($) {})(jQuery)
转http://home.cnblogs.com/group/topic/928.html(function($) {})(jQuery)相当于function MM($){} MM(jQuery)转载 2013-11-19 09:56:09 · 538 阅读 · 0 评论 -
setTimeout在jQuery里不起作用
转http://www.oschina.net/question/181920_61080setInterval 每隔一定时间执行 setTimeout 只执行一次 定义 setInterval 或者 setTimeout的时候 如果要调用外部的方法 要用 引号 否则会直接执行的 比如 setInterval("test()",200) 也转载 2013-12-08 21:17:19 · 2865 阅读 · 0 评论 -
javascript函数表达式
javascript函数表达式 (funcion($){})(jQuery) 实际上就是定义匿名函数function,然后(fucntion)()表示直接调用函数,(jQuery)表示函数输入参数为jQuery,及$就是jQuery原创 2013-12-08 17:40:38 · 493 阅读 · 0 评论 -
jQuery插件开发的模式和结构
转:http://www.cnblogs.com/cyStyle/archive/2013/05/18/jquery%E6%8F%92%E4%BB%B6%E8%AF%A6%E7%BB%86%E5%BC%80%E5%8F%91.htmljQuery插件开发的模式和结构jQuery插件开发一般来说,jQuery插件的开发分为两种:一种是挂在jQuery命名空间下的全转载 2013-12-08 16:59:08 · 504 阅读 · 0 评论 -
Play/pause HTML 5 video using JQuery
转http://stackoverflow.com/questions/4646998/play-pause-html-5-video-using-jquery问题:I am trying to control HTML5 videos using JQuery. I have two clips in a tabbed interface, there are six t转载 2013-11-30 22:19:56 · 1051 阅读 · 0 评论 -
jquery .fn
jQuery.fn is an alias for jQuery.prototype; it's the standard Javascript prototype mechanism.Actual jQuery objects (instances) do not have an fn property.转载 2013-11-27 08:09:39 · 526 阅读 · 0 评论 -
eclipse默认编码为GBK,修改为UTF8的方法 .
转http://blog.csdn.net/pdw_jsp/article/details/6212896 eclipse 默认编码居然是GBK,js文件默认编码是ISO-....怎么可以这样呢?都修改成UTF8的方法:1、windows->Preferences...打开"首选项"对话框,左侧导航树,导航到general->Workspace,右侧 Text file转载 2013-08-30 10:54:21 · 914 阅读 · 0 评论 -
JQuery -- this 和 $(this) 的区别
转http://www.cnblogs.com/ruilei/archive/2009/08/20/1550804.html转载 2013-11-20 18:32:41 · 583 阅读 · 0 评论 -
jQuery选择器的上下文参数
转http://www.keakon.net/2009/05/05/jQuery%E9%80%89%E6%8B%A9%E5%99%A8%E7%9A%84%E4%B8%8A%E4%B8%8B%E6%96%87%E5%8F%82%E6%95%B0转载 2013-11-20 17:52:18 · 775 阅读 · 0 评论 -
return this.each(function(){})
转http://bbs.csdn.net/topics/380203767转载 2013-11-19 11:08:44 · 1241 阅读 · 0 评论 -
jquery 获取input表单值的代码
获取值$("#").attr("value")设置值$("#").attr("value",'')转jquery取radio单选按钮的值$("input[name='items']:checked").val();jquery radio取值,checkbox取值,select取值,radio选中,checkbox选中,select选中,及其相关 获取一组rad转载 2014-05-10 11:21:27 · 535 阅读 · 0 评论