html+js+css
文章平均质量分 74
angelina525
这个作者很懒,什么都没留下…
展开
-
jquery .live(动态绑定事件)
问题描述: 我在html页面中根据$.getJSON获取到的data动态的往页面中加入checkbox,并设定了checkbox的click事件,一开始的源代码如下所示: $.getJSON("/ebook_template_category", {acid:chacid}, function(data){ $.each(data, function(i, item){原创 2013-08-12 14:35:02 · 818 阅读 · 0 评论 -
JQuery -- this 和 $(this) 的区别
起初以为this和$(this)就是一模子刻出来。但是我在阅读时,和coding时发现,总不是一回事。 What is "this"? In many object-oriented programming languages, this (or self) is a keyword which can be used in instance methods to refer to转载 2013-08-27 10:45:24 · 429 阅读 · 0 评论