摘要: 在html标签中加入命名空间即可,如下 <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> 阅读全文
posted @ 2020-07-14 20:02 xiuzhublog 阅读(768) 评论(1) 推荐(0) 编辑
摘要: 1.获取服务器时间: var now = new Date($.ajax().getResponseHeader("Date")); 2.new Date()用法(获取客户端时间): 获取年: var currentYear = now.getFullYear(); 获取月: var current 阅读全文
posted @ 2020-07-14 08:56 xiuzhublog 阅读(1697) 评论(0) 推荐(0) 编辑