上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页
摘要: $.posturl:发送请求地址。data:待发送 Key/value 参数。callback:发送成功时回调函数。type:返回内容格式,xml, html, script, json, text, _default。$.post( "test.php", { "func": "ge... 阅读全文
posted @ 2015-07-29 17:42 坠落鱼 阅读(333) 评论(0) 推荐(0) 编辑
摘要: $.each(Array,function(i,value){this; //this指向当前元素i; //i表示Array当前下标value; //value表示Array当前元素});each处理一维数组var arr1 = [ ... 阅读全文
posted @ 2015-07-29 17:36 坠落鱼 阅读(365) 评论(0) 推荐(0) 编辑
摘要: jQuery为开发插件提拱了两个方法,分别是:jQuery.fn.extend(object);jQuery.extend(object);jQuery.extend(object); 为扩展jQuery类本身.为类添加新的方法。可以理解为添加静态方法jQuery.fn.extend(object)... 阅读全文
posted @ 2015-07-29 16:46 坠落鱼 阅读(283) 评论(0) 推荐(0) 编辑
摘要: substring() 从字符串中提取一些字符var str="Hello world!"document.write(str.substring(3))stringObject.replace(regexp/substr,replacement)var str="Visit Microsoft!"... 阅读全文
posted @ 2015-07-29 14:43 坠落鱼 阅读(179) 评论(0) 推荐(0) 编辑
摘要: serialize()序列化表单元素为字符串,用于 Ajax 请求。serializeArray()序列化表单元素为JSON数据。26 进货人 :27 28 29 30 性别:31 32 36 37 38 39 商品名40 ... 阅读全文
posted @ 2015-07-29 11:45 坠落鱼 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 预览截图html部分 1 2 3 4 5 6 7 8 9 10 11 12 用户登入13 14 邮箱/名称邮箱为空15 密码密码为空16 登入 17 18 19... 阅读全文
posted @ 2015-07-29 11:30 坠落鱼 阅读(217) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type: "GET", url: url, dataType: "json", async: false, success: function(json, textStatus){ //doing }, error... 阅读全文
posted @ 2015-07-29 11:22 坠落鱼 阅读(132) 评论(0) 推荐(0) 编辑
摘要: CDATA的形式如下: CDATA的文本内容中不能出现字符串“]]>”,另外,CDATA不能嵌套。在XHTML中,小于、大于和双引号必须分别用这三个字符的XML实体<、>和"替换它们:在JavaScript中,这种代码实际上将视为有语法错,因为解释程序不知道XML实体的意思。... 阅读全文
posted @ 2015-07-29 10:50 坠落鱼 阅读(1689) 评论(0) 推荐(0) 编辑
摘要: JavaScript 中的函数既可以被当作普通函数执行,也可以作为对象的方法执行,这是导致 this 含义如此丰富的主要原因。var name="The Window"var object={ name : "My Object", getNameFunc : function(... 阅读全文
posted @ 2015-07-28 16:44 坠落鱼 阅读(330) 评论(0) 推荐(0) 编辑
摘要: jquery手册 : http://jquery.cuishifeng.cn/jquery在线手册 : http://www.php100.com/manual/jquery/ 阅读全文
posted @ 2015-07-28 14:19 坠落鱼 阅读(129) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页