button指定form action效果
<INPUT class=button type=button onClick="javascript:submit_type(1);" value="Excel导出" style="width:60px;"> function submit_type(a){if(confirm("您需要对选定的商品进行操作吗?")) {if (a==1){ searchForm.action="{LINK_EXPORT}"; searchForm.submit();}if (a==2){ searchForm.action="{LINK_EXPORT_ALIPAY}"; searchForm.submit();}}}