摘要:
var myDate = new Date();myDate.getYear();//获取当前年份(2位)myDate.getFullYear();//获取完整的年份(4位,1970-????)myDate.getMonth();//获取当前月份(0-11,0代表1月)myDate.getDate();//获取当前日(1-31)myDate.getDay();//获取当前星期X(0-6,0代表星期天)myDate.getTime();//获取当前时间(从1970.1.1开始的毫秒数)myDate.getHours();//获取当前小时数(0-23)myDate.getMinutes();//获 阅读全文
摘要:
jsp 进入JS$.ajax({type : "POST",url : "Testasd.hml",data : $('#formid').serialize(),//表单IDsuccess : function(msg) {}});后台代码public String loadinit(Pubuser pubuser, HttpServletRequest request,HttpServletResponse response) throws IOException {System.out.println(pubuser.getGuid 阅读全文