可能重复:
Why does an onclick property set with setAttribute fail to work in IE?
Key press event is not working in mozilla fire fox.
inp6.setAttribute("onblur","func1("+mb+")");//one way
inp6.setAttribute("onblur",func1("+mb+"));//2nd waay
如何在javascript
中的元素模糊时调用我的自定义函数func1()