09 2011 档案

摘要:var isError = typeof 1 == 'number' && '10000';alert(isError);// typeof 用来判断当前值的类型运算数为数字 typeof(x) = "number" 字符串 typeof(x) = "string" 布尔值 typeof(x) = "boolean" 对象,数组和null typeof(x) = "object" 函数 typeof(x) = "function" 阅读全文
posted @ 2011-09-28 09:49 txsun 阅读(142) 评论(0) 推荐(0)
摘要:1 class Program 2 { 3 static void Main(string[] args) 4 { 5 string str_1 = ""; 6 string str_2 = ""; 7 string str_3 = ""; 8 string str_4 = ""; 9 /*--------------------------------------实例1 10 1 1... 阅读全文
posted @ 2011-09-26 15:56 txsun 阅读(271) 评论(0) 推荐(0)
摘要:<form id="form1" runat="server" onsubmit=" return false" >在Form加上这个属性就可以了:onsubmit=" return false" 阅读全文
posted @ 2011-09-19 15:01 txsun 阅读(445) 评论(1) 推荐(0)
摘要:var name_list = new Array( "张三","李四","王五"); var length = name_list.length; var Intervalid = setInterval("demo()",500); function demo() { if(length<0) { length = name_list.length; //clearInterval(Intervalid); //取消定时 } $("#demo_show").h... 阅读全文
posted @ 2011-09-17 15:45 txsun 阅读(188) 评论(0) 推荐(0)
摘要:解决方法:删除根目录下的app_offline.htm文件,重新运行调试网页,一切正常!原来懂E文就可以更容易理解更多问题了,要更加好地充充电 阅读全文
posted @ 2011-09-17 11:03 txsun 阅读(197) 评论(0) 推荐(0)
摘要:function addKannma(number) { var num = number + ""; num = num.replace(new RegExp(",","g"),""); // 正负号处理 var symble = ""; if(/^([-+]).*$/.test(num)) { symble = num.replace(/^([-+]).*$/,"$1"); num = num.replace(/^([... 阅读全文
posted @ 2011-09-16 11:20 txsun 阅读(2267) 评论(0) 推荐(0)
摘要:declare @ct datetime set @ct = getdate() --- --sql 语句 --- select datediff(s, @ct ,getdate()) as '查询时间(秒)' 阅读全文
posted @ 2011-09-09 12:03 txsun 阅读(392) 评论(0) 推荐(0)
摘要:当VS2008的菜单栏中丢失一些菜单项后可以使用如下命令重新初始化VS2008环境:devenv /resetuserdata注意:使用此命令自定义工具箱将会清除! 阅读全文
posted @ 2011-09-05 09:48 txsun 阅读(257) 评论(0) 推荐(0)

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