Displaying 1 result from an estimated 1 matches for "multi_selector".
2005 Dec 31
0
File_column and multiple file select
...uot; /></p>
<%= end_form_tag %>
Files:
<!-- This is where the output will appear -->
<div id="files_list"></div>
<script>
<!-- Create an instance of the multiSelector class, pass it the output
target and the max number of files -->
var multi_selector = new MultiSelector( document.getElementById(
''files_list'' ), 3 );
<!-- Pass in the file element -->
multi_selector.addElement( document.getElementById( ''my_file_element'' )
);
</script>
My controller
def create
@entry = Entry.new(params[...