当前位置: 代码迷 >> JavaScript >> js 中利用触发事件 以交付表单的方式向后台传递数据
  详细解决方案

js 中利用触发事件 以交付表单的方式向后台传递数据

热度:309   发布时间:2012-12-18 12:43:41.0
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();
 }
} 
  相关解决方案