2

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?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Someone
  • 10,405
  • 23
  • 67
  • 100
  • dupe: http://stackoverflow.com/questions/95731/why-does-an-onclick-property-set-with-setattribute-fail-to-work-in-ie http://stackoverflow.com/questions/6235689/key-press-event-is-not-working-in-mozilla-fire-fox – davin Jun 05 '11 at 14:30

0 Answers0