02 2015 档案

摘要:要想看到实际效果,可以先声明一些属性跟方法,否则是看不到,仔细往下看有例子的。代码如下:function ShowObjProperty(Obj){var PropertyList='';var PropertyCount=0;for(i in Obj){if(Obj.i !=null)Proper... 阅读全文
posted @ 2015-02-10 17:52 亲亲小强 阅读(589) 评论(0) 推荐(0)
摘要:A page can't be manipulated safely until the document is "ready." jQuery detects this state of readiness for you. Code included inside $( document ).r... 阅读全文
posted @ 2015-02-08 14:07 亲亲小强 阅读(262) 评论(0) 推荐(0)
摘要:1. input标签的type属性属性值描述typebutton定义可点击按钮(多数情况下,用于通过 JavaScript 启动脚本)。file定义输入字段和 "浏览"按钮,供文件上传。checkbox定义复选框。hidden定义隐藏的输入字段。image定义图像形式的提交按钮。password定义... 阅读全文
posted @ 2015-02-08 12:10 亲亲小强 阅读(782) 评论(0) 推荐(0)
摘要:url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求... 阅读全文
posted @ 2015-02-01 17:40 亲亲小强 阅读(201) 评论(0) 推荐(0)