因为有一个同名ACTION, 下面这段代码在f.action= "/admin/show/updateShow.do";中就出错了,在IE中是不能执行的,
在FIREFOX中却没错误,
原因我的隐藏变量的名字也定义为action
 怎么修改一下?<form id="listShow" method="post" action="/admin/show/listShow.do"><input type="hidden" name="action" value="search" id="action" /><a href="javascript:void(0)" onclick="pop_new('/admin/show/updateShow.do?tsId=2808000000002');">Update</a>&nbsp;&nbsp;<a href="#" onclick="deleteConfirm('2808000000002');">Delete</a>
</form><script language="javascript">
function deleteConfirm(tsId){
if(confirm("Are you sure to delete this show")){
var f = document.getElementById("listShow");
var action = document.getElementById("action");
f.action= "/admin/show/updateShow.do";
f.method = 'POST';
action.value="delete";
var t = document.createElement('input'); 
t.setAttribute('type', 'hidden'); 
t.setAttribute('name', 'delTsId'); 
t.setAttribute('value', tsId); 
f.appendChild(t);
f.submit();
}
return false;
}</script>