<script language="JavaScript" type="text/JavaScript">
//保存
function save() {
var obj = document.getElementById("tableform");
obj.action = '<s:property value="#request.saveUrl"/>';
var submitbtn = document.getElementById("submitbtn");
submitbtn.click();//通过js时间控制提交事件
}
//展示
function query(){
window.location.href='<s:url value="/listEp.action"/>';
}
//加载日期控件
$(document).ready(function(){
addFormValidator();
$("#sendTime").attr("readonly","readonly");
$("#sendTime").click(function(){WdatePicker({isShowClear:false,dateFmt:'yyyy-MM-dd HH:mm:ss'});});
});
</script>
您可能感兴趣的文章: