一个表单中做删除
<script type="text/javascript">
function changeURL1(type,resultID)
{
var action = "";
if(type == "delete")
{
action = "${base}/message/deleteMessage.action?message.id=" + resultID;
window.location.href=action;
}
}
</script>
<span class="left_bt2">
<input type="button" id="delete" onClick="changeURL1('delete',${message.id});" value=" 删 除 "/>
</span>