in onblur i called two different events; but its not working. First event only working.
How to do?
either in onBlur() or onFocus()
Example:
onblur="a();b();"

Member Avatar

Attach an event listener instead of inline js.

losing focus supports bubbling (i.e. if will fire if a parent loses focus too). blur is stuck to the control specified.

Are you using a lib such as jQuery or just using vanilla js?

No i am not using a lib such as jQuery or just using vanilla js.I am new to this one

Member Avatar

You're not supplying any code. Can't help you unless you show you're code.