Hi again.
Forgot to show the error I get from my initial code:
$("").html(e.highlight(a, term)).addClass is not a function
I will look more closely to your code GLP, altough I didn't understand
it quite at the first glance :-)
I have a datastructure looking like this:
var customers = [
{ name: "A", projects: [{name:"val1",name:"val2",name:"val3"}] },
{ name: "B", projects:
[{name:"val1",name:"val2",name:"val3,name:"val4,name:"val5"}] },
.
{ name: "", projects: [{name:"val1",name:"val2"}]
Hi!
I'm using Jörn Zaefferers autocomplete, and happy day, using json as
datasource is working!
Sadly, I have not reached nirvana yet
When I press a "s" for instance, the goal is of course to only show
the items starting with "s". But no, every item is shown!
What can cause this?
Thanx!
sorry about the missing code!
it's quite simple:
---
$(document).ready(function(){
$("#client").autocomplete("data.json", {
parse: function(data) {
return $.map(eval(data), function(row) {
cust
Oops, sorry aboute the missing code
$(document).ready(function(){
$("#client").autocomplete("data.json", {
parse: function(data) {
return $.map(eval(data), function(row) {
customers = data;
Hi!
I'm making an app which benefit a lot from using autocomplete.
However, I need to use an external file as source, and json or xml
would suit the backend people best (ruby on rails).
I have made an effort of trying to use xml, but ain't succeding. Maybe
some of you guys can help me out? My xm
6 matches
Mail list logo