Rocky Jaiswal: " var users = new UserList(); //Line 26
users.fetch({async: false});
var userNames = users.pluck("name");
$("#user-input").autocomplete({ //Line 30
source : userNames,
minLength : 2,
select: function(event, ui){ //Line 33
var selectedModel = users.where({name: ui.item.value})[0];
var view = new SelectionView({model: selectedModel});
view.render();
}
});"
'via Blog this'