$(".someClassWithMultipleItemsOnDOM").autocomplete({
minLength:2,
source .....(ajax call)
.....
}).focus( function() {
/*some code*/
})
.data( "autocomplete" )._renderItem = function( ul, item ) {
/*render item for making search text bold*/
};
.data("autocomplete")._resizeMenu = function () {
/*resize code to set the size of autocosearch drop down box*/
};
I recives the error at resize menu line that there is syntax error ,, is there any way too use both function together. In similar manner.
You can use both _renderItem and _resizeMenu like this.
Take a look at this site JQFAQ , it will be more useful for jQuery developers.