Newbie: populate 2nd dropdown list based on user's selection

Hi,

I am creating a form that a user can post a message based on his
selection on category and subcategory. (A category has many
subcategories.)

How do I dynamically populate subcategory dropdown list when user
chooses a category from category dropdown list?

Thanks in advance.


Best regards,

Ming Ma

On 8/6/06, Ming Ma [email protected] wrote:

Thanks in advance.


Best regards,

Ming Ma


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

There’s a couple of solutions to this on http://rails.techno-weenie.net
the
one by technoweenie is the best but I couldn’t seem to find it at the
moment. The other is by liquid here

http://rails.techno-weenie.net/tip/2006/6/20/cascading_select_boxes_with_rjs_even_on_ie