esdd24fr
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by esdd24fr
-
-
Tks for you quick answer.But, if I use object.focus(), it will give the focus to my object, isn't it?So the if condition will always true, and my problem is still here...
-
Hello,I found two methods about focus, focus() to set the focus and blur() to remove the focus, but i didn't find any method to know if an object has the focus or not.Is anybody tried to use a "hasFocus()" method in Javascript?If you have some idea, please help me.Tks, Emmanuel.
Focus on an object
in JavaScript
Posted
Oh yes, it's simple but efficient.Tks very much. Emmanuel.