Skip to content

Instantly share code, notes, and snippets.

@liwh
Created March 18, 2011 09:55
Show Gist options
  • Select an option

  • Save liwh/875835 to your computer and use it in GitHub Desktop.

Select an option

Save liwh/875835 to your computer and use it in GitHub Desktop.
form 嵌套form冲突
//得到你的from
var form = document.forms[ 'yourForm '];
//在这里手工指定提交给哪个ACTION
form.action = 'updateAction.do ';
//执行SUBMIT
form.submit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment