x
 
<!DOCTYPE html>
<html>
<body>
<h1>input formaction 属性</h1>
<p>formaction 属性规定提交表单时对输入进行处理的的文件的 URL。</p>
<form action="/demo/html/action_page.php">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <label for="lname">Last name:</label>
  <input type="text" id="lname" name="lname"><br><br>
  <input type="submit" value="提交">
  <input type="submit" formaction="/demo/html/action_page_2.php" value="以管理员提交">
</form>
</body>
</html>