<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<html> <head>
<script>
function submitit1()
//交由程序1处理
{
document.myForm.action = "http://www.site.com/cgi1.php"
document.myForm.submit();
}
function submitit2()
//交由程序2处理
{
document.myForm.action = "http://www.site.com/cgi2.php"
document.myForm.submit();
}
</script>
</head>
<body>
<form name="myForm" METHOD=POST>
<input name="chkAll" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox">
选中本页显示的所有产品<input name="submit" type='submit' value='审核选中文章' onClick="submitit1()"> <input name="submit" type='submit' value='删除选定的产品' onClick="submitit2()">
</form>
</body>
</html>
注意name和type相同的