IE6 内で次の JavaScript 関数を使用しています。
window.onbeforeunload = function() {
if (itemChanged) {
return 'You have made changes to data on this page. If you navigate away from this page without first saving your data, the changes will be lost.';
}
};
しかし、ダイアログの [キャンセル] ボタンを押すと、JavaScript ページ エラーが発生します。
エラー: 不明なエラー。
何か案は?