摘要:
在编辑器或者文本框中按住数字或字母不放 当字符很长时,就会撑破页面,可以用一下方法控制字符自动换行style="word-break:break-all;" 阅读全文
摘要:
UTF-8截取中文字符串 function Cn_Substr($string, $length) { preg_match_all("/[\x01-\x7f]|[\xc2-\xdf][\x80-\xbf]|\xe0[\xa0-\xbf][\x80-\xbf]|[\xe1-\xef... 阅读全文
摘要:
阅读全文
摘要:
fsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsffsdfsf 阅读全文
摘要:
代码下载 阅读全文
摘要:
代码下载 阅读全文
摘要:
代码下载 阅读全文
摘要:
有的网站中不允许用户复制、粘贴、剪切文本框中的内容的,是怎么实现的呢?看看下面的代码就知道了。 阅读全文
摘要:
Math.round(Math.random()*1000+1) ;//取得1-1000的随即数 阅读全文
摘要:
今天要用到jquery ajax 跨域调用,但是ajax是禁止跨域调用的,所以只能先在php文件使用函数取得跨域的值,然后用ajax调用本地php文件. 阅读全文
![](/skins/gray/images/separator.gif)