摘要: 1、alert例子 2、继承 3、myeach 4、jquery开发的querytable 3、如何使用 5、对于this的讲解 阅读全文
posted @ 2016-08-27 12:26 香港胖仔 阅读(1966) 评论(0) 推荐(0)
摘要: 1、首先介绍callback.js对ajax进行了封装 2、jquery面向对象,get,set 3、jQuery面向对像,event添加 4、jQuery面向对象3(自定义事件) event定义 5、jQuery面向对象4(对象) 6、jQuery面向对象,protype 7、jQuery pro 阅读全文
posted @ 2016-08-27 12:14 香港胖仔 阅读(365) 评论(0) 推荐(0)
摘要: 1、属性选择器 <script language="JavaScript"> /** * <input type="button" value=" 含有属性title 的div元素" id="b1"/> */ $("#b1").click(function(){ $("div[title]").cs 阅读全文
posted @ 2016-08-27 11:04 香港胖仔 阅读(564) 评论(0) 推荐(0)
摘要: 1、添加元素 <code> <script language="JavaScript">$().ready(function(){$("input[type='button']").click(function(){var $li = $("<li/>").attr("id","sh").attr( 阅读全文
posted @ 2016-08-27 10:54 香港胖仔 阅读(226) 评论(0) 推荐(0)