07 2011 档案

摘要:<tr onmouseout=\"this.style.backgroundColor=currentcolor;\" onmouseover=\"currentcolor=this.style.backgroundColor;this.style.backgroundColor='#6699ff' \" > 阅读全文
posted @ 2011-07-20 13:55 txsun 阅读(346) 评论(1) 推荐(1)
摘要:// 禁用鼠标右键$(document).bind("contextmenu", function() { return false;}); 阅读全文
posted @ 2011-07-16 11:14 txsun 阅读(288) 评论(0) 推荐(0)
摘要:在当前分组集合中自增长id 阅读全文
posted @ 2011-07-14 11:22 txsun 阅读(171) 评论(0) 推荐(0)
摘要:1:判断正常表 select count(*) from SysObjects where XType='U' and name ='table'2:判断临时表 if exists(select * from tempdb..sysobjects where id=object_id('tempdb..#temp1')) 阅读全文
posted @ 2011-07-06 16:58 txsun 阅读(445) 评论(0) 推荐(0)
摘要:如过你在asp.net后台生成html代码然后输出到客户端就可能发生错误。错误的写法:onmouseover='currentcolor=this.style.backgroundColor;this.style.backgroundColor='#6699ff ' ' this.style.backgroundColor='#6699ff '此处脚本会认为它是非法的字符串不给予通过,就是提示:illegal character正确写法:onmouseover='currentcolor=this.style.backgroundColo 阅读全文
posted @ 2011-07-04 15:07 txsun 阅读(2963) 评论(0) 推荐(0)