/** * 格式化日期 */function formatDate(value){ if(value!=null){ var date = new Date(value); if( date.getHours() == 0) return date.format('yyyy-MM-dd'); else
return date.format('yyyy-MM-dd hh:mm:ss');}return '';}Date.prototype.format = function(format){ var o = { 'M+' : this.getMonth()+1, //month 'd+' : this.getDate(), //day 'h+' : this.getHours(), //hour 'm+' : this.getMinutes(), //minute
's+' : this.getSeconds(), //second 'q+' : Math.floor((this.getMonth()+3)/3), //quarter 'S' : this.getMilliseconds() //millisecond } if(/(y+)/.test(format)) { format = format.replace(RegExp.$1, (this.getFullYear()+'').substr(4 - RegExp.$1.length)); } for(var k in o) { if(new RegExp('('+ k +')').test(format)) { format = format.replace(RegExp.$1, RegExp.$1.length==1 ? o[k] : ('00'+ o[k]).substr((''+ o[k]).length)); } } return format; }
获取前端radio的值,并转换固定格式的str;function getCheckBoxArray(domArray){ var s=''; $('#'+domArray).each(function(){ if($(this).prop('checked')==true){ s = s + $(this).val() + ','; } }) return s;}
404数字是什么? 一 是服务器执行完客户端的请求以后,返回给客户端的一个执行结果的状态编码产生的原因:Web服务器(容器)根据请求地址找不到对应资源。如: ① 地址错误(拼写不正确,字母大小写错误) ② web.xml文件中的两个
页面组建Form
- 1
js前端代码如何写
- 2
Excel表格怎么把大量数据批量分列
- 3
excel中怎么对同个单元格的数据进行分列处理?
- 4
excel分列功能怎么使用
- 5
在EXCEL中怎么使用数据分列功能
- 6
Excel经典设置:[45]数据分列1
- 7
excel表格怎么使用分列
- 8
office Excel 2013如何对数据进行分列操作?
- 9
怎样用EXCEL将单元格的内容进行分列
- 10
Excel怎样将一列数据分割成多列
- 11
Excel表格快速分列
- 12
Excel表格如何将数据分列整理?
- 13
如何使用分隔符号在excel表格中进行数据分列
- 14
excel数据一列分成多列
- 15
如何使用EXCEL中的“分列”功能
- 16
Excel表格中怎么样才能将一列的内容分成两列
- 17
Excel数据怎么分列?分列格式如何选择?
- 18
excel数据一列分成多列
- 19
Excel中如何将一列数据分为多列?
- 20
excel表分列数据。
- 21
Excel表格中怎么样才能将一列的内容分成两列
