摘要:
<div class="layui-form-item"> <div class="layui-input-block"> <button class="layui-btn" lay-submit lay-filter="formSubmit" id="tijiao">立即提交</button> < 阅读全文
摘要:
jQuery.fn.center = function () { this.css('position','absolute'); this.css('top', ( $(window).height() - this.height() ) / +$(window).scrollTop() + 'px'); this.css('left', ( $(window).width() -... 阅读全文
摘要:
/*绑定多个事件 $(function(){ $("div").delegate("#a,#b",{"click":function(){ alert(1) } ,"mouseover":function(){ $(this).before(1) } })}) $(function(){ $("di 阅读全文
摘要:
var hide=true; var dataZoom_end =0;if(result.length>5 ){//一页显示5条(5-1)/总*100var dataZoom_end = (4/result.length)*100; }else{var dataZoom_end = 100; hid 阅读全文
摘要:
//输入的时候如果输入小数2.220立即变成2.22保留两位js工具类 function clearNoNum(obj){ obj.value = obj.value.replace(/[^\d.]/g,""); obj.value = obj.value.replace(/\.{2,}/g,"." 阅读全文
摘要:
XSSFWorkbook wb = new XSSFWorkbook(); // 工作表 XSSFSheet sheet = wb.createSheet("车辆使用情况统计"); XSSFCellStyle style = wb.createCellStyle(); style.setAlignm 阅读全文
摘要:
<script type="text/javascript"> //维护删除数组中的某一项 Array.prototype.remove = function(val) { var index = this.indexOf(val); if (index > -1) { this.splice(in 阅读全文