摘要:
php时间:1368524732js代码:functiongetLocalTime(nS){returnnewDate(parseInt(nS)*1000).toLocaleString().replace(/:\d{1,2}$/,'');}alert(1368524732)输出:2013年5月15日上午10:39来源:http://www.cnblogs.com/sufei/archive/2012/12/03/2799480.htmlhttp://blog.csdn.net/wust_star/article/details/7672840 阅读全文
posted @ 2013-06-18 14:53
狂奔的蜗牛Snails
阅读(206)
评论(0)
推荐(0)
摘要:
文章代码提示:如果这里没有 return ,会检测,但还会跳转到 action='xxx.php'目标页面。 这样就是去了检测意义js代码function check(){ if(form1.name.value ==""){ alert("用户名不能为空"); f... 阅读全文
posted @ 2013-06-18 14:52
狂奔的蜗牛Snails
阅读(220)
评论(0)
推荐(0)
摘要:
1.<script type="text/javascript">var str="Is this all th05777-89856825ere is50577-456-?";var model = /\d{4}\-\d{7,8}/g;document.write(str.match(model));</script>输出结果5777-89856825备注:\d{4} 查找4位数字 \d 数字\d{7,8} 查找7-8位数字g 是全局匹配 扩展代码一:var str="Is this all th05888777-89 阅读全文
posted @ 2013-06-18 14:51
狂奔的蜗牛Snails
阅读(390)
评论(0)
推荐(0)
摘要:
1.前台页面提交出现__NOLAYOUT__解决把法: 在Public 文件下找到success.html,error.html,exception.html 头部去掉就可以 阅读全文
posted @ 2013-06-18 14:50
狂奔的蜗牛Snails
阅读(254)
评论(0)
推荐(0)
摘要:
Thinkphp 语言包丢失 造成的原因有那些1.复制模板 预览时内容出现英文状态 如:show.html解决:找到lang ,在zh-cn 复制想对应的文件包 改下名称就有可以 如:admin_orderl.php 阅读全文
posted @ 2013-06-18 14:48
狂奔的蜗牛Snails
阅读(262)
评论(0)
推荐(0)
摘要:
日历插件来源网站:http://www.cnblogs.com/yank/archive/2008/08/14/1267746.html六款英文日历http://www.bobd.cn/design/web/effect/200910/35679.html可控制日期和时间:http://trentr... 阅读全文
posted @ 2013-06-18 14:20
狂奔的蜗牛Snails
阅读(666)
评论(0)
推荐(0)

浙公网安备 33010602011771号