<div class="codetitle"> <span><a style="CURSOR: pointer" data="8324" class="copybut" id="copybut8324" onclick="doCopy('code8324')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code8324"> <br><form name="form1" method="post" action="ad/BusinessAction!list.action"> <br><br>//下面input框提交的action不同,用onclick跳轉,寫一個js方法<br><br><input type="button" class=" mulButton" name="Ids" id="allcheck" onclick="manySend('ad/BusinessAction!sendmany.action')" value="批次匯入到成功案例"> <br><br><script> <br><br>//js方法如下<br><br>function manySend(href){ <BR>var form = document.form1; <BR>form.action = href;//傳想要跳轉的路徑<BR>form.submit(); <BR>} <br><br></script> <br> </form> </div>