M
malugu satyajit
[Note: parts of this message were removed to make it a legal post.]
I have some ERB which has two lists
like this <select name="selectedSurveys" multiple="multiple" size="7">
I have JavaScript that enables one to push one object from one list to the
other. So, now I want get all of the selected objects in the second list in
my params array. How do I do that?
I am trying in the following lines
<select name="selectedSurveys" multiple="multiple" size="7">
<%x=0
@string=survey+x
params[:string]=%><option value=""..... >
<%x++%>
</select>
Here I am creating a new string everytime and trying to populate the params
array with the value in the list box.
But its not working.
Any help is appreciated.
I have some ERB which has two lists
like this <select name="selectedSurveys" multiple="multiple" size="7">
I have JavaScript that enables one to push one object from one list to the
other. So, now I want get all of the selected objects in the second list in
my params array. How do I do that?
I am trying in the following lines
<select name="selectedSurveys" multiple="multiple" size="7">
<%x=0
@string=survey+x
params[:string]=%><option value=""..... >
<%x++%>
</select>
Here I am creating a new string everytime and trying to populate the params
array with the value in the list box.
But its not working.
Any help is appreciated.