03 2013 档案

摘要:function CheckDateFormat(_value) { //var a = /^(\d{4})-(\d{2})-(\d{2})$/; // var a = /^(\d{4})(-|\/)(\d{2})(-|\/)(\d{2})$/; var a = /^(\d{4})(\/)(\d{2})(\/)(\d{2})$/; if (!a.test(_value)) { // alert("日期格式不正确!") alert("... 阅读全文
posted @ 2013-03-25 10:09 汉城 阅读(251) 评论(0) 推荐(0)
摘要:SCRIPT LANGUAGE="JavaScript"> <!-- //出处:网上搜集 // Trim() , Ltrim() , RTrim() String.prototype.Trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); } String.prototype.LTrim = function() { return this.replace(/(^\s*)/g, ""); } String.prototype.RTrim = functi 阅读全文
posted @ 2013-03-21 10:54 汉城 阅读(275) 评论(0) 推荐(0)
摘要:<title>User Info</title> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />参考代码http://www.cnblogs.com/imihiroblog/archive/2012/11/06/2757068.htmlhttp://xdwangiflytek.iteye.com/blog/1340276 阅读全文
posted @ 2013-03-20 14:43 汉城 阅读(203) 评论(0) 推荐(0)
摘要:SELECT CAST('1244443.00' as decimal(38, 2))select cast(123456789.12 as money)select convert(varchar(1000),cast(123456789.12 as money),1) 翻译 阅读全文
posted @ 2013-03-20 09:50 汉城 阅读(132) 评论(0) 推荐(0)