From: Advait Bellur Date: 2007-10-26T21:37:04+09:00 Subject: Re: how to use javascript in rhtml Scott Patten wrote: > Advait Bellur 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 > > If you are loading the prototype javascript library, you add the > following to your view (after the form definition): > > > Thank you for looking into by problem, however the problem still persists.......I am actually new to this and trying to get a foot hold...........and didnt get a clear picture of what you ment when you said " If you are loading the prototype javascript library, you add the following to your view (after the form definition) ". could you please be more clear to me, so that I could you your help to a much efficient use Thank you Advait -- Posted via http://www.ruby-forum.com/.