close

 

HTML 原始碼:

<form>
<input type="button" value="按這裡關閉視窗" onclick="confirmclose()"/>
</form>
<script language="javascript">
function confirmclose()
{
if (confirm("確定要關閉視窗?"))
(window.close())
}
</script>

arrow
arrow
    全站熱搜

    ALVIN 發表在 痞客邦 留言(0) 人氣()