2011年4月19日
摘要: 之前写过的方法有缺陷,可以输入空格。现在将空格也屏蔽了。就是在之前的代码里加入了过滤空格的功能。代码如下:01.$("#money").bind("propertychange",function() { 02. 03. if(""!=this.value){ 04. 05. var str = this.value.replace(/(^\s*)|(\s*$)/g, ""); 06. if(this.value != str ) 07. this.value = str; 08. } 09. 10. if( is 阅读全文
posted @ 2011-04-19 12:51 The only 阅读(2205) 评论(0) 推荐(0)
  2011年3月25日
摘要: <html><head> <script> function locking(){ document.all.ly.style.display="block"; document.all.ly.style.width=document.body.clientWidth; document.all.ly.style.height=document.body.clientHeight; document.all.Layer2.style.display='block'; } function Lock_CheckForm(th 阅读全文
posted @ 2011-03-25 11:50 The only 阅读(366) 评论(0) 推荐(0)
  2011年3月12日
摘要: 一、基础1、说明:创建数据库Create DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server--- 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind_1.dat'--- 开始 备份BACKUP DATABASE pubs TO testBack4、说明:创建新表create table tabname(col1 type1 [no 阅读全文
posted @ 2011-03-12 16:18 The only 阅读(278) 评论(0) 推荐(0)