hagino3000's blog

平成アーカイブス (更新停止)

2009-04-17から1日間の記事一覧

ブラウザの閉じるボタン制御したいんだけどとかいう話

友人から質問があったので、一応携帯メールで返信したけどこういう事ですかね?jQuery使ってます。 <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>unload test</title> <script type="text/javascript" src="./js/jquery-1.3.2.min.js"></script> <script> $(window).bind('beforeunload', function(e){ if(context.edi…</meta></head></html>