Showing posts with label focus. Show all posts
Showing posts with label focus. Show all posts

Monday, June 11, 2012

jQuery lose focus event


I'm trying to show up a container if a input field gets the focus and - that's the actual problem - hide the container if focus is lost. Is there an opposite event for jQuery's focus?

Sunday, May 13, 2012

How not to lose focus on a login page


I have a simple login form with 2 input fields: "username" and "password". "username" field is focused by default. The problem is that when user clicks outside "username" or "password" fields, the focus is gone (it is neither on "username" nor on "password" fields"). How can I force the focus to be on these 2 fields only ?

Friday, April 27, 2012

Set initial focus in an android application


In my android application it automatically focuses the first Button I have in my layout, giving it an orange outline. How can I set the initial focus preferably in XML, and can this be set to nothing?

Friday, January 20, 2012

android fragments edittext button focus


being new to android app development, I encounter a problem regarding the interaction of android fragments, edittexts, focus and buttons.