摘要:
SELECT * FROM (select *,ROW_NUMBER() Over(order by id) as rowNum from table_info ) as myTablewhere rowNum between 50 and 60; 阅读全文
摘要:
[代码] 阅读全文
摘要:
匹配中文字符的正则表达式: [\u4e00-\u9fa5]匹配双字节字符(包括汉字在内):[^\x00-\xff]应用:计算字符串的长度(一个双字节字符长度计2,ASCII字符计1)String.prototype.len=function(){return this.replace([^\x00-\xff]/g,"aa").length;}匹配空行的正则表达式:\n[\s| ]*\r匹配HTML... 阅读全文
摘要:
其它常用JS1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键<table border oncontextmenu=return(false)><td>no</table> 可用于Table2. <body onselectstart="return false"> 取消选取、防止... 阅读全文
摘要:
[代码] 阅读全文