摘要: 1、先新建一个 JsonConvertResult:JsonResult,继承自JsonResult;public class JsonConvertResult : JsonResult { /// /// 格式化字符串 /// p... 阅读全文
posted @ 2015-05-13 13:28 lovemc 阅读(780) 评论(0) 推荐(0) 编辑
摘要: 最近在做移动手机端的时候,看了很多验证插件都是基于jquery写的,但是容量和体积太大,考虑手机端对于2g和访问速度的要求,于是自己写了一个,欢迎大神们拍砖。首先要引用 zepto;if (typeof Zepto === 'undefined') { throw new Error('Zep... 阅读全文
posted @ 2015-05-13 10:54 lovemc 阅读(4317) 评论(0) 推荐(0) 编辑
摘要: 1 public class DBHelper 2 { 3 /// 4 /// 数据库帮助 5 /// 6 protected static DbHelper db = null; 7 8 9 ... 阅读全文
posted @ 2015-05-13 10:50 lovemc 阅读(274) 评论(0) 推荐(0) 编辑