Don't use checkboxes... Use a link_to_remote...

If you need to have a checkbox you can allways just use an image of a
checkbox. or a button_to...

On Jun 17, 12:25 pm, rachel <[email protected]> wrote:
> Hello All,
>
> I am very new to Web Development (in general) and Ruby on Rails and
> have been stumped on this for awhile.
>
> In my view I have a check box of which I need to grab a primary key
> value when checked.
>
> The primary key value will then need to be used to generate and
> populate a corresponding drop down list.
>
> Currently the data generated to view is similar to ...
>
> Telephone (primary key of 1) [check box] ... web user clicks check box
> then I need to display corresponding database data based on the
> primary key
>
> Internet     (primary key of 2) [check box] ... same concept for
> Telephone using Internet PK
>
> Television  (primary key of 3) [check box] ... same concept for
> Telephone using Television PK
>
> Can anyone please help me?
>
> Rachel
--~--~---------~--~----~------------~-------~--~----~
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