hi,
Is there any way to set focus in a particular field, after validation in
rails??
or we have to use only javascript.

For example.,
validates_presence_of :username
(assume there is no username given)
after validation, how can i set focus in that particular username
textbox.

is there any way in rails or should i use javascript.
Thanks.

--------
my ror blog
http://www.srikanthjeeva.blogspot.com
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to