随笔 - 11  文章 - 0  评论 - 28  阅读 - 18043
07 2008 档案
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) 推荐(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) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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