Hi Madhu, Use setSelection method to set the cursor position.
txtinput.setFocus(); txtInput.setSelection(0,0); if still it does not work that means application needs the focus from browser, in tht case u need to use external interface to set focus from javascript. After that the above two lines of code will work fine.. Regards, On May 26, 7:59 am, Madhu <madh...@gmail.com> wrote: > HI > > I have one problem in using setFocus to the text field > > When I use setFocus it is setting cursor to the textInput field but > untill and unless I click with mouse > > its not taking input from keyBoard > > Regards > BMK -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.