Topic: Two select multiple boxes

Hi All!

I am quite new to Rails (currently on .NET), and I am trying to get a hang of it all smile

I want two <select multiple> boxes where the user can select some from the left box and transfer them to the right box (And then two buttons - one to transfer each way).

I can do it with JavaScript, but won't the Params hash only contain the selected items from the boxes (witch won't help me much since none of them will be selected).

In .NET it is very simple, but I can't seem to get it in Rails.

Thanks in advance!

- Jacob

Re: Two select multiple boxes

This sounds more like an all-javascript problem. Take a look at this example of how to do this in javascript. Prototype may be able to help you out a bit more, but I don't know enough about it to offer any code.

Railscasts - Free Ruby on Rails Screencasts