PDA

View Full Version : How to remove focus from an item?



pawanspace
12 Nov 2009, 1:45 AM
Hi All,

I have an item where i had called focus method to provide focus. Now when I am navigating to some other tab in my application. Focus is still on the first item. Can any one tel me how to remove that focus? I have tried focusing the new tab but its not working.

Regards,
Pawan Chopra.

Animal
12 Nov 2009, 2:37 AM
You activated another tab programmatically?

Focus the first input Field in that tab.

Hadas.Mobile
12 May 2011, 2:27 AM
Hi Pawan Chopra,
Can you Discover to me- How did you resolved this bug?
I have two fields: user & pw with focus.
but, when I pressed on submit button- the focus still remains in the pw field.
How I can remove the focus?????
I tried with this function:
blur: function(e) {this.onFieldBlur(item, e);},
but' it not work- only in Android (in Iphone it working!!)
Thanks a lot,
Hadas.:)