摘要: 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();//获 阅读全文
posted @ 2013-09-28 14:10 tao5310 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2013-09-28 13:38 tao5310 阅读(549) 评论(1) 推荐(0) 编辑