I currently have a custom fields for enter State name. I want to use the autocomplete from jquery-ui in this fields. However, I failed.
This is the first time I using jquery-ui, and I am not so familiar with php and jquery. I hope that you guys can give me some advises.
This was the code that I use:
Above is the example code that I use to call the autocomplete feature. But nothing happened in my custom field. No list populated.
Since the above code cannot work, so I try to find another way to implement the jquery-ui and I found this article enter link description here However, I stuck at this code:
I don't want the source file retrieved from the database like this one:
$.getJSON("friends.php?callback=?", req, function(data)
I want it retrieved from the simple place, like the 1st example. How can I do that?