【js】js方法中直接跳转到servlet
function firm_back_state(id,name){ if(confirm("确认返单?")){ location.href="Edit_OrderServlet?method=delete&id="+id+"&in="+name; }else { alert("返单失败"); } }
梦想要一步步来!
function firm_back_state(id,name){ if(confirm("确认返单?")){ location.href="Edit_OrderServlet?method=delete&id="+id+"&in="+name; }else { alert("返单失败"); } }