随笔分类 -  js

javascript编程常见问题
摘要:1、初始化root密码进入mysql数据库1mysql>update user set password=PASSWORD(‘123456’) where User='root';2、允许mysql远程访问,可以使用以下三种方式:a、改表。1234mysql -u root –pmysql>use mysql;mysql>update user set host = '%' where user ... 阅读全文
posted @ 2015-11-28 09:26 .windy 阅读(509) 评论(0) 推荐(0) 编辑
摘要:今天做时间范围的初始化设定,开始时间是当前时间的前一个月,终于找到完美的解决方案了。Date.prototype.format=function(format){varo={"M+":this.getMonth()+1,//month"d+":this.getDate(),//day"h+":thi... 阅读全文
posted @ 2015-05-04 14:12 .windy 阅读(9779) 评论(0) 推荐(1) 编辑

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