How to use javascript in rhtml

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

Take a look at http://lena.franken.de/software/javascript/

On Oct 25, 10:22 am, Advait B. [email protected]

Bill S. wrote:

Take a look at http://lena.franken.de/software/javascript/

On Oct 25, 10:22 am, Advait B. [email protected]

Thank You for looking into my problem , ill definately go through the
url.

Regards

Advait

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?

Advait B. wrote:

Bill S. wrote:

Take a look at http://lena.franken.de/software/javascript/

On Oct 25, 10:22 am, Advait B. [email protected]

Thank You for looking into my problem , ill definately go through the
url.

Regards

Advait

Respecter 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…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs