在普通按钮事件中加入:
document.forms[0].action = 'xxx';
document.forms[0].submit();