Saturday, 6 October 2018

How to include dynamic values in Jquery autocomplete combobox?

I have referred many examples from jquery and StackOverflow questions. But no where given example for database values to add into autocomplete combobox. That's the reason I have opened this question here.

Where should i include below code to make dynamic vaalues.

var autocompleteList = [];

$(document).ready(function(){
session.run('MATCH (n) RETURN n.name').then(function (result) {
result.records.forEach(function(record){
autocompleteList.push(record._fields[0]);
});
});

jsfiddle Here is my code which i tried. Please help me what am i missing ?



from How to include dynamic values in Jquery autocomplete combobox?

No comments:

Post a Comment