ie脚本报错,求高手提点
function pwdBlur()
{
if(document.getElementById("password1").value.trim() == "")
{
document.getElementById("pwd").innerHTML = "<font color=red><b>Password can not be null!</b></font>";
}
else
{
document.getElementById("pwd").innerHTML = "<img src='images/success.jpg'/>";
}
}
红色的地方我用ie调试会报错,对象不支持此属性和方法