<script type="text/javascript">
function sures()
{
if(confirm('确定下发吗?'))
{
return true;
}else{
return false;
}
}</script>
在form中加上
<s:form action="*" namespace="*" method="post" onsubmit="return sures()">
<script type="text/javascript">
function sures()
{
if(confirm('确定下发吗?'))
{
return true;
}else{
return false;
}
}</script>
<s:form action="*" namespace="*" method="post" onsubmit="return sures()">