摘要: var wait = 60; function time(btn) { var txtTel = $('#txtTel').val(); var isMobile = /^(?:13\d|15\d)\d{5}(\d{3}|\*{3})$/; var isPhone = /^((0\d{2,3})-)?(\d{7,8})(-(\d{3,}))?$/; if (!isMobile.test(txtTel) && !isPhone.test(txtTel)) { ... 阅读全文
posted @ 2013-11-12 23:12 黑 瞳 阅读(379) 评论(0) 推荐(0) 编辑
摘要: public ActionResult DownloadMessage() { string strExportData = "无数据!"; byte[] data = System.Text.Encoding.GetEncoding("GB2312").GetBytes(strExportData); return File ( data, "application/x... 阅读全文
posted @ 2013-11-12 15:15 黑 瞳 阅读(787) 评论(0) 推荐(0) 编辑