上一页 1 ··· 28 29 30 31 32
摘要: checkbox没有readOnly属性所以我们要设置CHeckbox是只读的话就要设置其onclick方法并返回falsecheckbox.onclick=function(){return false;}就可以解决其只读了。当然我们设计的checkbox不可能只是只读的所以在某个方法中他又是可写... 阅读全文
posted @ 2015-04-23 08:48 一杯水M 阅读(931) 评论(0) 推荐(0) 编辑
摘要: Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour "m+"... 阅读全文
posted @ 2015-04-21 16:38 一杯水M 阅读(485) 评论(0) 推荐(0) 编辑
摘要: //****************************************************************************// Function ID : Common_ChkDate// I/O : (I) datest... 阅读全文
posted @ 2015-04-21 16:36 一杯水M 阅读(1950) 评论(0) 推荐(0) 编辑
摘要: --实例:张三转800元到李四账户上 if exists(select * from sysobjects where name='bank')drop table bankcreate table bank(customerName char(10), --顾客姓名currentMoney mon 阅读全文
posted @ 2015-04-21 16:12 一杯水M 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1 通过findcontrol找控件ID需要在此事件中~因为Page_load中时是先内容页加载然后才是母版页加载 protected void Page_LoadComplete(object sender, EventArgs e) { Label2.Text = "现... 阅读全文
posted @ 2015-04-21 16:00 一杯水M 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Document自带的方法:循环执行:var timeid = window.setInterval(“方法名或方法”,“延时”);window.clearInterval(timeid);定时执行:var tmid = window.setTimeout(“方法名或方法”, “延时”);windo... 阅读全文
posted @ 2015-03-26 09:21 一杯水M 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 今天看到了一个自己可以随心所欲的拖到div到页面的任意位置。感觉挺好的,就心血来潮的查询了一下,看看网友做的代码如下:这个网友说不支持FF!! 阅读全文
posted @ 2015-03-03 17:25 一杯水M 阅读(3703) 评论(0) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32