javascript中刷新时不触发页面的关闭事件
摘要:有时在页面的刷新会触发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
梦回西夏
阅读(1106)
推荐(0) 编辑
Sql手写split函数
摘要: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
梦回西夏
阅读(317)
推荐(0) 编辑