使用Form Iframe Request取代Ajax技术和Jquery的Ajax方法
e() ,c_iframe = document.createElement('iframe') ,c_form = document.createElement('form'); c_iframe.className = 'hidden'; c_iframe.name = 'request_iframe_'+time; c_form.className = 'hidden'; c_form.id = 'r...
PHP数组式访问接口ArrayAccess
putting it here in the hope it will help others : If you call array_key_exists() on an object of a class that implements ArrayAccess, ArrayAccess::offsetExists() will NOT be called. 另外的一些注意事项 : ArrayAcces...
前端技术之CSS实现图片垂直居中
; } .imgWrap { width: 200px; } .imgWrap img{ max-height: 200px; max-width: 200px; } </style> <table class="imgTab"> <tr> <td> <div class="imgWrap"> <img src="" /> </div> </td> </tr> </table> ...
My97DatePicker设置日期年月日时分秒格式
t language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script> <input class="Wdate" type="text" onClick="WdatePicker()"> <font color=red><- 点我弹出日期控件</font> 设置日期包含时分秒格式代码示例如下: ...
LMLJS之代码高亮插件highlight发布
er New",monospace; font-size: 13px; margin: 10px 0; overflow: auto; text-indent: 0; } </style> <pre class="code"> function hello_world() { echo 'ni hao!'; } </pre> <script> lml.loadJs('<?php echo WEB_PATH....
PHPExcel 兼容读取电子表格
一个兼容的读取电子表格的功能,PHPExcel 内置强大的识别能力,可以很好的支持 csv,xls,xlsx 等格式。<?php require 'E:\code\projects\PHPExcel\Classes\PHPExcel.php'; $inputFileName = 'example1.xlsx'; $inputFileName = 'example1.xls'; $inputFileName ...
解决 springboot Interceptor @Autowired null
rt org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; @Configuration public class InterceptorConfig extends WebMvcConfigurerAdapter { @Override public void addInterceptors(Intercept...
PHP 7.3 经典报错 continue targeting switch
PHP 7.3 经典报错,用一句话证明你用过 PHP 7.3。 Warning: "continue" targeting switch is equivalent to "break". Error:"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ... 改成 contin...
树莓派 Raspberry 安装与使用教程
enticate as (1-2): 1 Password: ==== AUTHENTICATION COMPLETE ===查看温度显示出来的数值除以 1000 就是当前主板温度。cat /sys/class/thermal/thermal_zone0/temp 镜像哪里下载这个非常重要,国内的网络下载官方的源的镜像文件,那是不可能的,需要好几天的时间,不可能做到。所以选择中国高校的镜像,交大,清华 都可...
发现一段变态的代码
看:<h1><a class="__yjs_email__" href="/cdn-cgi/l/email-protection" data-yjsemail="1a4d73742dfda9a1fda185fea7a5fd8eb2fd8eaff29e8bfd9392ffa4b4fea5bbffbc98fea78f5aff92b1fea0a0">[email protected]</a><scrip...