在删除时,加上这个代码可以判断是否真的删除内容,如果是则删除,否则返回。

1 if(!confirm("是否确定删除话题"))
2         return;

 

posted @ 2014-03-29 20:00  来福1990627  阅读(162)  评论(0编辑  收藏  举报