02 2015 档案
摘要:要想看到实际效果,可以先声明一些属性跟方法,否则是看不到,仔细往下看有例子的。代码如下:function ShowObjProperty(Obj){var PropertyList='';var PropertyCount=0;for(i in Obj){if(Obj.i !=null)Proper...
阅读全文
摘要: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...
阅读全文
摘要:1. input标签的type属性属性值描述typebutton定义可点击按钮(多数情况下,用于通过 JavaScript 启动脚本)。file定义输入字段和 "浏览"按钮,供文件上传。checkbox定义复选框。hidden定义隐藏的输入字段。image定义图像形式的提交按钮。password定义...
阅读全文
摘要:url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求...
阅读全文

浙公网安备 33010602011771号