Need some idea to move data's from the list box to text area

hi,

i am new to ROR. now i am strugle in one concept.

Actually i have listed some data’s in listbox by using the
demographic_table from the database.

so, when i click add buttom after selecting one data from the list box
, it should be come into the beside textarea box.

If i click REMOVE buttom means it should return again into the Listbox
from the text area.

my database tables are:

Name - Demographic category

fields - id , name

so, when i click the listed name it should be come into another box,

same remove also.

can anyone help me??? please