Possible Duplicates:
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
How to call my customized function func1(
) when on blur for a element in JavaScript?