<html

<head
<script
  function submitit1() 
  //交由程序1处理   
  
    document.form1.action = "http://www.baidu.com/
    document.form1.submit(); 
  
  function submitit2() 
  //交由程序2处理   
  
    document.form1.action = "http://www.taobao.com/
    document.form1.submit(); 
  
</script
</head
   
<body
<form name="form1" METHOD="POST" 
  username:<input type=text name=text1
  password:<input type=password name=text2
  <input type=button value="Submit1" onClick=submitit1();> 
  <input type=button value="Submit2" onClick=submitit2();> 
</form
</body
</html>

相关文章:

  • 2022-03-06
  • 2022-12-23
  • 2021-09-10
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2021-08-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案