document.click = check;
function check(e)
{
var obj = document.getElementById('calendar_widget');
if (obj != 'null')
{
if (e.target.id != 'show_calender')
obj.style.display='none';
}
}
Internet Explorer中出现错误: e.target.id未定义。
https://stackoverflow.com/questions/1143196
复制相似问题