On Feb 24, 8:04 am, Jo Jo <[email protected]> wrote:
> And same for <option> ?
>
Come on, should be easy enough if you got the previous one :-) (not to
mention that options_for_select etc. do this for you).

Fred
> selected_option (value, content, x)
>
> if x = true then
>
> <option value=value selected="selected">content</option>
>
> else
>
> <option value=value>content</option>
> --
> Posted viahttp://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