the problem is that the focus begins on the browser and not the
application.
Do not forget to change the name of the page (\'index\') for the name
of your application in Flex...
I tried the command (with the name of my application) and worked very
well.

On 21 abr, 03:20, "Sreenivas..........." <[email protected]>
wrote:
> I want to set the focus with cursor on TextInput not Browser.Can you tell me
> how to do that.
>
> Can you send me the code for this.
>
> Thanks & Regards,
> Srinivas.
>
> On Tue, Apr 21, 2009 at 9:20 AM, Flex Baby <[email protected]>wrote:
>
>
>
>
>
> > the above code not taking textinput id.
> > the above my code is working in only IE & Firefox only.
>
> > On Apr 20, 6:16 pm, "Sreenivas..........." <[email protected]>
> > wrote:
> > > I want to set the focus with cursor on TextInput.Without taking the
> > > "TextInput" id how to set the focus and cursor to that TextInput.
> > > Here am using Ubuntu(i mean Linux).What you are sending that code is not
> > > working for me.
>
> > > Can you please send me the full code.
>
> > > Thanks & Regards,
> > > Srinivas.
>
> > > On Mon, Apr 20, 2009 at 6:28 PM, Flex Baby <[email protected]
> > >wrote:
>
> > > >  <mx:Application        xmlns:mx                        ="
> > > >http://www.adobe.com/2006/mxml";
> > > >                    xmlns
> > > > ="com.esri.solutions.flexviewer.*"
> > > >                    layout                              ="absolute"
> > > >                       creationComplete="init()"
> > > >                  ">
> > > > call this function on init() method.
> > > > it is work in IE & firefox only.
> > > > just copy & paste below code to init() method only
> > > > ExternalInterface.call('function browserFocus()' +
> > > > '{document.getElementById(\'index\').focus();}');
>
> > > > index is ur application name
>
> > > > On Apr 20, 2:51 pm, Vasu <[email protected]> wrote:
> > > > > Hi All,
> > > > >            I have a problem with TextInput.How to focus on the
> > > > > TextInput with cursor blinking when the application loads(
> > > > Likewww.google.com).
>
> > > > > Any suggestions on this query.......
>
> > > > > Thanks & Regards,
> > > > > Srinivas.- Ocultar texto das mensagens anteriores -
>
> - Mostrar texto das mensagens anteriores -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to