AnsweredAssumed Answered

How to know element is focused or not?

Question asked by mcasanket on Jan 6, 2012
Latest reply on Jan 6, 2012 by mikeh
HI All,
   In one requirement I need to know whether the element is focused or not. I am having the element Id. But when I use isFocused function it gives me JavaScript error.

alert("Focused: " +Dom.get( + "-max").isFocused());

JavaScript error on console.
   Dom.get( + "-max").isFocused is not a function

Please help me out!
Thanking you!