NetBlog主题

JS确认删除
Web前端

JS确认删除

1863 0

<script type="text/javascript"> window.onload = function () {document.getElementById(testID).onclick = test();function test() {if (confirm("你确认要删除吗?")) {alert(删除成功);}else {alert(删除失败);}}}</script><i…