[jQuery] Re: autocomplete-comma delimeter string from servlet

2009-02-03 Thread thomas.confuse
by comma) from the servlet into each row in the autocomplete listing. Please advice. On Feb 4, 10:01 am, "thomas.confuse" wrote: > The solution the issue. > > formatItem: function(row,position,total,searchTerm) { >                         // server sends rows

[jQuery] Re: autocomplete-comma delimeter string from servlet

2009-02-03 Thread thomas.confuse
The solution the issue. formatItem: function(row,position,total,searchTerm) { // server sends rows e.g. kelantan, kedah return row.toString().split(',')[0]; } On Feb 3, 10:33 pm, "thomas.confuse" wrote: >

[jQuery] Re: autocomplete-comma delimeter string from servlet

2009-02-03 Thread thomas.confuse
r you get the value > servletResponse = servletResponse.split(', '); // Split on the > delimiter plus a space > alert(servletResponse); // [a, b, c, d]; > > On Feb 3, 5:13 am, "thomas.confuse" wrote: > > > Hi, all. > > i just started to use Jquery. i m us

[jQuery] autocomplete-comma delimeter string from servlet

2009-02-03 Thread thomas.confuse
Hi, all. i just started to use Jquery. i m using remote data to pass into jQuery widget, autocomplete. but the data from the servlet is generated in this format a, b,c, how can i break the data from the servlet to populate the autocomplete ? Please advice.i m using java for the servlet and th