04 2016 档案

摘要:<form method="get" action="/test/index.php?mod=123456" > <input type="hidden" name="a" value="00" /> <input type="submit" /> </form> 后台只能接收a=00。action 阅读全文
posted @ 2016-04-19 08:59 access笨小孩 阅读(286) 评论(0) 推荐(0)
摘要://定义编码 header( 'Content-Type:text/html;charset=utf-8 '); //Atom header('Content-type: application/atom+xml'); //CSS header('Content-type: text/css'); 阅读全文
posted @ 2016-04-18 18:19 access笨小孩 阅读(1415) 评论(0) 推荐(1)
摘要:JSON.parse 函数 JSON.parse 函数 JSON.parse 函数 (JavaScript) 将 JavaScript 对象表示法 (JSON) 字符串转换为对象。 语法 JSON.parse(text [, reviver]) 参数 text 必需。 一个有效的 JSON 字符串。 阅读全文
posted @ 2016-04-15 16:20 access笨小孩 阅读(184) 评论(0) 推荐(0)
摘要:1.用ng-model绑定的输入input标签不能序列化$("form").serialize();要在value赋值才行。 2.disabled 是不能被序列化提交的(这不属于ng的坑); 3.ng-repeat 循环中1.30版本不支持ng-model="$index<2"的checkbox; 阅读全文
posted @ 2016-04-15 16:11 access笨小孩 阅读(150) 评论(0) 推荐(0)
摘要:HTTP Request的Header信息 1、HTTP请求方式 如下表: GET 向Web服务器请求一个文件 POST 向Web服务器发送数据让Web服务器进行处理 PUT 向Web服务器发送数据并存储在Web服务器内部 HEAD 检查一个对象是否存在 DELETE 从Web服务器上删除一个文件 阅读全文
posted @ 2016-04-12 14:04 access笨小孩 阅读(619) 评论(0) 推荐(0)

>