<script language="javascript">
function selform_Submit(act)
{
var msg="";
switch(act)
{
case "del":
msg="删除";
break;
case "repl":
msg="替换";
break;
}
if(confirm('此操作将"+msg+"该信息!\n\n确定要执行此项操作吗?'))
{
document.selform.Action.value=act;
}
return false;
}
</script>
<input onClick="return selform_Submit('del');" type=submit value=删除 >
<input onClick="return selform_Submit('repl');" type=submit value=替换 >
<input type="Hidden" name="Action" value='repl'>
加return 替换一下试试?