I know how to use the form helpers to create forms.

What I want to accomplish is something similar to the LOCATION field at 
www.krop.com Do you see how it reads Live Search inside the box? As soon 
as you click on it, it disappears allowing you to enter your search 
terms.

How can I accomplish the onclick="" event with a form helper in Rails or 
some other Rails way?

I have a login form: Username and Password. The Username field is 
supposed to say "Username" and when you click on the field "Username" 
disappears, allowing you to enter the Username.

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