<script type="text/javascript">
window.onload = function () {
document.getElementById('').onclick = function () {
if (window.confirm('关闭?')) {
}
else {
}
}
}
</script>
<script type="text/javascript">
window.onload = function () {
document.getElementById('').onclick = function () {
if (window.confirm('关闭?')) {
}
else {
}
}
}
</script>
转载于:https://www.cnblogs.com/chao2014/p/4944687.html