- <script language="javascript" type="text/javascript" >
- function ConfirmDelete(msg,url)
- {
- if(confirm(msg))
- {
- document.location.href=url;
- }
- }
- </script>
- //该片段来自于http://www.codesnippet.cn/detail/080120131419.html
来源: http://www.codesnippet.cn/detail/080120131419.html