$(document).ready(function() { alert(today()); document.getElementById("serviceTime").value = today(); }); function today(){ var today=new Date(); var h=today.getFullYear(); var m=today.getMonth()+1; var d=today.getDate(); var hh=today.getHours(
1.deviceOperateTrendIndex.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR