2008年7月21日
摘要: 有时在页面的刷新会触发window.onbeforeunload()事件,只要加一个判断就可以了。function window.onbeforeunload() { if (event.clientX>document.body.clientWidth && event.clientY<0||event.altKey){ window.event.returnV... 阅读全文
posted @ 2008-07-21 21:40 梦回西夏 阅读(1090) 评论(0) 推荐(0) 编辑
摘要: if exists(select id from sysobjects where [name]='splitfun')begindrop function splitfunendgocreate function splitfun(@str varchar(1000),@split varchar(10)) returns @a table(col varchar(20))--只是一张虚表asb... 阅读全文
posted @ 2008-07-21 21:31 梦回西夏 阅读(315) 评论(0) 推荐(0) 编辑