日期:2014-05-16  浏览次数:20508 次

js 中利用触发事件 以提交表单的方式向后台传递数据
function autoPb(){
var engineRoomName = document.getElementById("engineRoomName").value;
var month = document.getElementById('month').value;
if(month!=""){
var url = "${webRoot}/base/marquee/itsmOndutyPlanWork-autoPb.action";
document.fm.action=url;
document.fm.submit();
 }
}