View Full Version : Javascript on Android Phone apps

02-02-2016, 03:01 AM
I have a id.focus command on an html page working in my desktop broswer, Im just wondering why it wont work on my android phone.

02-02-2016, 03:33 AM
Just wondering? If that's all, I can tell you that javascript isn't the same on mobiles and desktops. The focus property and the .focus() action are also interpreted differently under different browsers. Both are becoming more limited. Time was when virtually anything could obtain or be given focus as well as have the focus upon it detected. More and more, only form elements that a user interacts with can. Hope this answers your question. If not, or you want more help, a link to the problem page would help us to help you.

Oh, and most things that were done with focus in the earlier environments can still be gotten at in other ways now, we just need to be a little more creative. That said, some things cannot.