03 2015 档案
摘要://placeholder兼容性 //如果支持 function isPlaceholer(){ var input = document.createElement('input'); ...
阅读全文
摘要:6位+数字+字母+特殊字符 |6位+数字、字母、特殊字符两两组合 | 6位var threeRegex = new RegExp("^(?=.{6,})(?=.*[a-zA-Z])(?=.*[0-9])(?=.*\\W).*$", "g");var twoRegex = new RegExp("^(...
阅读全文
摘要:escape, encodeURI, encodeURIComponent 的使用情况:1、js使用数据时可以使用escape;2、传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断;3、进行url跳转时可以整体使用encodeURI。例如: Locat...
阅读全文
摘要:文件:httpd.conf@开启虚拟hosts# Virtual hostsInclude conf/extra/httpd-vhosts.conf文件:httpd-vhosts.conf@配置虚拟主机 DocumentRoot "E:/www/pz" ServerName to.pz....
阅读全文

浙公网安备 33010602011771号