07 2014 档案

摘要:因为php默认获取的是格林威治时间,与北京时间相差8小时。我们要获取到北京时间有两个办法:1、修改php.ini配置文件:打开php.ini文件,一般在php配置根目录下,找到其中的 ;date.timezone,删掉前面的分号,并改为date timezone = PRC。保存,重启Apahce服... 阅读全文
posted @ 2014-07-31 01:06 韵脚学员 阅读(712) 评论(0) 推荐(0) 编辑
摘要:先上个效果图:在关于页面时,在点击邻居管理后,实现所在页面的提示,相当于文字导航。实现方法:js: 1 var a,b; 2 function admin_op(a,b){ 3 if(b==0){ 4 history.go(0) 5 return tr... 阅读全文
posted @ 2014-07-26 19:36 韵脚学员 阅读(738) 评论(0) 推荐(0) 编辑
摘要:前台入口文件index.php配置文件:1 '配置值'4 'DEFAULT_C_LAYER' => 'Controller', // 默认的控制器层名称5 'URL_MODEL' => 1, // URL访问模式,可选参数0、1... 阅读全文
posted @ 2014-07-25 20:57 韵脚学员 阅读(79608) 评论(1) 推荐(1) 编辑
摘要:animation:[ || || || || || ] [, [ || || || || || ] ]* 一、animation-name:语法: animation-name: none | IDENT[,none | IDENT]*;取值说明:animation-name... 阅读全文
posted @ 2014-07-16 15:29 韵脚学员 阅读(169) 评论(0) 推荐(0) 编辑
摘要:转至:http://blog.sina.com.cn/s/blog_4abb9bba0101acsx.html 阅读全文
posted @ 2014-07-15 15:40 韵脚学员 阅读(150) 评论(0) 推荐(0) 编辑
摘要:form 属性form 属性规定输入域所属的一个或多个表单。注释:form 属性适用于所有 标签的类型。form 属性必须引用所属表单的 id:实例First name:Last name: list 属性list 属性规定输入域的 datalist。datalist 是输入域的选项列表。注释:l... 阅读全文
posted @ 2014-07-14 21:36 韵脚学员 阅读(256) 评论(0) 推荐(0) 编辑
摘要:浏览器支持Input typeIEFirefoxOperaChromeSafariemailNo4.09.010.0NourlNo4.09.010.0NonumberNoNo9.07.0NorangeNoNo9.04.04.0Date pickersNoNo9.010.0NosearchNo4.01... 阅读全文
posted @ 2014-07-14 21:11 韵脚学员 阅读(119) 评论(0) 推荐(0) 编辑
摘要:接收 Server-Sent 事件通知EventSource 对象用于接收服务器发送事件通知:实例var source=new EventSource("demo_sse.php");source.onmessage=function(event) { document.getElementBy... 阅读全文
posted @ 2014-07-14 21:05 韵脚学员 阅读(346) 评论(0) 推荐(0) 编辑
摘要:1 function current(){ 2 var d=new Date(),str=''; 3 var date=((d.getMonth()+1)*30+(d.getFullYear())*365+d.getDate()-(2014*365+7*30+10));//当前天数-要设置时间... 阅读全文
posted @ 2014-07-14 20:41 韵脚学员 阅读(137) 评论(0) 推荐(0) 编辑
摘要:1 2 3 4 5 6 7 8 9 阅读全文
posted @ 2014-07-11 12:02 韵脚学员 阅读(899) 评论(0) 推荐(0) 编辑
摘要:1 2 $("#pwd").live("click",function(){//① 3 $(this).parents("tr").find("#a_cannel").text("取消"); 4 user=$(this).parents("tr").fin... 阅读全文
posted @ 2014-07-03 17:19 韵脚学员 阅读(404) 评论(0) 推荐(0) 编辑
摘要:$(this).children().eq(1).text()获取的是显示的值$(this).children().eq(1).html()获取的是之间的所有内容$('.trSelected',grid).find("td").eq(7).text();获取的是选中的某行的内容遍历表<table i... 阅读全文
posted @ 2014-07-03 16:13 韵脚学员 阅读(2441) 评论(0) 推荐(0) 编辑
摘要:echo json_decode(json_encode("修改成功"));这样就行了 阅读全文
posted @ 2014-07-02 23:00 韵脚学员 阅读(1910) 评论(0) 推荐(0) 编辑
摘要:1、在php.ini文件中改动error_reporting改为:error_reporting=E_ALL & ~E_NOTICE2、如果你不能操作php.ini文件,你可以使用如下方法在你想禁止notice错误提示的页面中加入如下代码:/* Report all errors except E_... 阅读全文
posted @ 2014-07-01 08:58 韵脚学员 阅读(674) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示