[I originally posted this on the jquery forum, but I realize that I'll
have to figure out the right syntax for form_for anyway, so it makes
sense to cross-post here...]

I'd like to be able to render forms, augmented by unobtrusive javascript
that behave as follows:

When javascript is enabled, the label appears inside the text field and
vanishes on focus.  The JQuery infield plugin by Doug Neiner
(http://fuelyourcoding.com/scripts/infield/) is a good example of this.

But when javascript is NOT enabled, the label appears on the outside,
and not cleverly repositioned on the inside where it looks terrible.
(Perhaps that's just a matter of different CSS styling?)

Pointers welcome TIA.

- ff

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