I need help with aucomplete of the jquery.

jQuery("#PeopleName").autocomplete(
                                   {source:["name1","name2","..."],
                                    minLength:2,
                                    max:10,
                                    scroll:true});

The 'scroll' and 'max' are not working.
I am use jquery-ui-1.8.18.custom.min.js. What is wrong with this code?

Edit
Report