1.
<a href="javascript:if (confirm('确认要删除')) location.href='flow.php?step=drop_goods&id={$goods.rec_id}'; " title="删除" ></a>
2.
<a href='javascript:delMonthMessage("<s:property value="twoid" />")' onclick="return confirm('确定将此记录删除?')">删除</a>