会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
MrYong
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
9
10
11
12
13
14
15
16
17
···
25
下一页
2015年3月5日
验证url格式
摘要: //验证url var url=$("#address").val(); var regUrl = /^http[s]{0,1}:\/\/.+$/ ; if(url.match(regUrl)==null){ $.dialog.tips("地址格式不正确!"); ...
阅读全文
posted @ 2015-03-05 10:03 Coding_Yong
阅读(640)
评论(0)
推荐(0)
2015年3月4日
页面渲染是否结束 与 jquery插件方法是否可以应用
摘要: 只有页面全部 渲染结束,才可以调用 插件的方法。正确写法:$(function(){ 插件调用方法。})
阅读全文
posted @ 2015-03-04 11:32 Coding_Yong
阅读(334)
评论(0)
推荐(0)
2015年3月3日
浏览器如何解析并显示数据?
摘要: PHP案例场景:AJAX调用下面方法:/*** 图片上传*/public function uploadfile(){$result= uploadimg('loopimg');$this->ajaxReturn($result);//echo json_encode($result);}用 ech...
阅读全文
posted @ 2015-03-03 10:46 Coding_Yong
阅读(490)
评论(0)
推荐(0)
转定义查看方法
摘要: 按着Ctrl点击方法;
阅读全文
posted @ 2015-03-03 10:10 Coding_Yong
阅读(165)
评论(0)
推荐(0)
PHP jsonencode 已经json中包含 汉字的处理
摘要: '希亚', 'Age'=>20 );$jsonencode = json_encode($arr);echo $jsonencode;?>程序运行结果如下:{"Name":null,"Age":20}json_encode 函数中中文被编码成 null 了,Google...
阅读全文
posted @ 2015-03-03 09:43 Coding_Yong
阅读(2936)
评论(0)
推荐(0)
2015年3月2日
图片上传ie与chrome总结
摘要: if(brow.msie) // ie浏览器执行此代码 {// data 可以是字符串 eval("data = " + data); } else // 其他浏览器执行此代码 {//data 要求是对象 data = jQuery.parseJSON(jQuery(...
阅读全文
posted @ 2015-03-02 18:07 Coding_Yong
阅读(193)
评论(0)
推荐(0)
2015年2月28日
PHP 日期格式中 Y与y
摘要: 大写Y效果:$nowtime = time(); $nowtime=date("Y-m-d",$nowtime);结果: 2015-10-24小写y效果:$nowtime = time();$nowtime=date("Y-m-d",$nowtime);结果: 15-10-24
阅读全文
posted @ 2015-02-28 14:41 Coding_Yong
阅读(780)
评论(0)
推荐(0)
2015年2月11日
ThinkPHP项目 公共方法存放位置
摘要: ThinkPHP项目公共方法写在 根目录-> app-> common 里面ThinkPHP模板公共方法卸载 根目录->app->模块名称->common 里面
阅读全文
posted @ 2015-02-11 14:20 Coding_Yong
阅读(784)
评论(0)
推荐(0)
2015年2月3日
计算机序列中数字比较大小
摘要:
阅读全文
posted @ 2015-02-03 11:27 Coding_Yong
阅读(271)
评论(0)
推荐(0)
2015年2月2日
php项目代码 编码格式不对会大范围报错
摘要: php项目代码 编码格式不对会大范围报错
阅读全文
posted @ 2015-02-02 11:20 Coding_Yong
阅读(196)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
25
下一页
公告