摘要: $.ajax({ url : _url, type : 'GET', dataType : 'html', xhrFields: { withCredentials: true }, success : function(data){ $(dom).html(data); }}); 阅读全文
posted @ 2016-05-26 17:27 xiaoxiao333 阅读(773) 评论(0) 推荐(0)
摘要: //把日期转换成时间戳function get_unix_time(time1){ var newstr = time1.replace(/-/g,'/'); var date = new Date(newstr); var time_str = date.getTime().toString(); 阅读全文
posted @ 2016-05-26 16:36 xiaoxiao333 阅读(245) 评论(0) 推荐(0)