$("#ac1").autocomplete(cities, {
matchContains: true,
scroll: false
});
$("#ac2").autocomplete(months, {
matchContains: true,
scroll: false,
startmsg: 'Type a month "Jquery" that doesn\'t exist...',
noresultsmsg: 'No matches, Do you want to create {q}'
}).bind("ac_noresult_click",function(event, q){
log.info("clicked no result message + q "+ q)
});
$("#ac3").autocomplete(cities, {
matchContains: true,
endmsg: 'You can select more than one item...',
startmsg: 'You can select more than one item...',
multiple: true,
scroll: false
});