<script type="text/javascript">
window.onload = function () {
document.getElementById('').onclick = function () {
if (window.confirm('关闭?')) {
}
else {
}
}
}
</script>