呆呆鱼

2016年12月8日

js 控制表单提交

摘要: <form id="form2"> <input type="text" name="text" value=""> <input type="submit" name="" value="" id="liuyan"> </form> 例: //留言验证 $("#liuyan").live("cli 阅读全文

posted @ 2016-12-08 18:15 呆呆鱼 阅读(203) 评论(0) 推荐(0) 编辑

curl方法post一个数组

摘要: $r = $this->curl_post($url, $data);$list = json_decode($r,true); function curl_post($url = '', $post_data = array()) { $ch = curl_init(); curl_setopt( 阅读全文

posted @ 2016-12-08 18:01 呆呆鱼 阅读(6431) 评论(0) 推荐(0) 编辑

导航