I have used the jquery auto complete plugin in my rails application and things are working fine.
I want to enter multiple names separated by commas and would require auto complete for each that are separated by commas. Please help me with the required option for this.
My jquery code:
$(document).ready(function() {
$.getJSON('/releases/new.json', function(data1) {
$('#release_tester_tokens').autocomplete({source: names}, {multipleSeparator: ","});
});
});
either you need to write some methods with yourself.
here is one helpful article
or you can use another plugin
update
if there is an option then you can try with this way
NOTE: Read the comments on plugin websitehttp://jqueryui.com/demos/autocomplete/#multiple