That seems to work, thanks alot, things are looking a little better
now.

I don't suppose there is any easy way to tell what the focus was when
observe_form sends the call to the server ?
Right now I just keep the fields in a session and see which one
changed, which is sort of a hack and prone to slight errors etc .


On Sep 25, 11:53 am, bill walton <bwalton...@gmail.com> wrote:
> Hi Jedrin,
>
> On Fri, 2009-09-25 at 08:04 -0700, Jedrin wrote:
> > Is there a way to focus through RJS ?
>
> page['element_id'].focus()
>
> Best regards,
> Bill
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to