javascript - TypeError: Cannot read property 'value' of undefined -


when try click on search documents element returns error in console.

uncaught typeerror: cannot read property 'value' of undefined

$('.js-main-search').data('uiautocomplete')._rendermenu = function (ul, items) {   var branchesresults = true;   var companiesresults = true;   var currentcategory = '';   var = this;   ul.append('<li class="search-documents-btn">search documents &raquo;</li>');   // ... }); 

any suggestions?


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -