Hey
How do i store a predefined json in a varaible as a source? I am getting a json in document.ready via ajax. I then store it in a variable and use it in the source, but this doesnt work.
Make sure your json matches the format required for this to work. You can check the jsfiddle for a working example. As far as a limit, there is no functionality for that, but this might help: http://stackoverflow.com/questions/7617373/limit-results-in-jquery-ui-autocomplete
and also how do i limit the number of results?