hello, I needed to know a javascript function which I can use for focusing my cursor on the first text field of a given page. That is as soon as I load a page, my cursor should start blinking in the first text field Regards Advait -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Take a look at http://lena.franken.de/software/javascript/ On Oct 25, 10:22 am, Advait Bellur <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> hello, > > I needed to know a javascript function which I can use for focusing my > cursor on the first text field of a given page. > > That is as soon as I load a page, my cursor should start blinking in the > first text field > > Regards > > Advait > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bill Siggelkow wrote:> Take a look at http://lena.franken.de/software/javascript/ > > On Oct 25, 10:22 am, Advait Bellur <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>Thank You for looking into my problem , ill definately go through the url. Regards Advait -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Advait Bellur wrote:> Bill Siggelkow wrote: >> Take a look at http://lena.franken.de/software/javascript/ >> >> On Oct 25, 10:22 am, Advait Bellur <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > > > > > > Thank You for looking into my problem , ill definately go through the > url. > > Regards > > AdvaitRespecter Sir, The tutorial is definately helpful if i have only one page and it captions reads " This is useful for forms where the user should simply type in something witout having to navigate to the first field " But this is not the case with mine...I traverse through many links........ If possible please let me know how could I carry out this process.... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
What do you mean that you have to "traverse many links"? It sounded like you just wanted to set the focus to a text field so that the user can type without having to tab to the field. That''s what the script does. How exactly does it fail to meet your needs? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---