- 博客(4)
- 收藏
- 关注
原创 jquery jsonp 跨域
前端js 方法一: $(function () { $(function () { var url = "http://www.jtzk.com/common/GetjsonP?collback=?"; $.getJSON(url, function (da
2016-05-31 12:45:57 377
原创 sql 递归查询
sql 递归查询 with my1 as( select * from JTZK_Comment where Status=1 union all select JTZK_Comment.* from my1,JTZK_Comment where my1.ParentId = JTZK_Comment.id ) select DISTINCT * from my1;
2016-05-31 10:15:00 295
原创 sql 时间范围查询条件
--一年内注册查询 select * from User where datediff(year,Createdate,getdate())=0 --一月内注册查询 select * from User where datediff(month,Createdate,getdate())=0 --一天内注册查询 select * from User where dat
2016-05-16 16:42:20 5695
原创 Json Date类型数据转 js date
在javascript中将"Birthday":"\/Date(1391141532000)\/"中的字符串转换成javascript中的日期对象 var birthdayMilliseconds = parseInt(obj.Birthday.replace(/\D/igm, "")); var birthday = new Date(birthdayMillisecon
2016-05-03 14:50:40 746
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人