OldFunc = window.onload;
window.onload = OnLoad;
function OnLoad() {
try {
OnFixFontAndTable();
OldFunc();
} catch (e) {
alert(e);
}
}
function OnFixFontAndTable() {
$('.something some').css({
'behavior': 'url(/path/border-radius.htc)'
});
}
border-radius.htc
以前のバージョンの IE の問題を修正するために使用していますが、alert(e)
常に"TypeError:Object expected"
.