摘要:
function timeCount(){ var nowTime=Date.parse(new Date()); var toTime=Date.parse(new Date('2018 01 01')); var jiange=(toTime-nowTime)/1000; var day=Mat 阅读全文
摘要:
方法一: $.when($.ajax({url: 'url_1',data: data, success: function() { console.log('aaaa'); }}),$.ajax({url: 'url_2', data: data, success: function(){ con 阅读全文
摘要:
function sort(arr,attr,attr2){ var len=arr.length;if(len<=1){ return arr;} var num=Math.floor(len/2); var numVal=arr[num][attr]; var numVal2=arr[num][ 阅读全文