js 中利用触发事件 以交付表单的方式向后台传递数据
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(); } }