function inVote(td) { var name = td.name; td.form.action = "vote.jsp?tablename="+name; td.form.submit(); }
1,表单对象.action设置提交的位置
2.表单对象.submit();提交表单
function inVote(td) { var name = td.name; td.form.action = "vote.jsp?tablename="+name; td.form.submit(); }
1,表单对象.action设置提交的位置
2.表单对象.submit();提交表单