It doesn't work because you don't have the autocomplete js file referenced/loaded
On Mar 5, 1:19 am, efet <efetun...@gmail.com> wrote: > <script type="text/javascript"> > $().ready(function() { > > var data = [ {QUERY: $("#QUERY").val(), url:'test.asp? > Process=CheckCustomer'} ]; > $("#suggest1").autocomplete(data); > > }); > > </script> > <div class="required"> > <label for="Test...">Test...</label> > <input type="text" id="suggest1" /> > </div> > > Data needs to be taken as: > test.asp?Process=CheckCustomer&QUERY=a > > Not very familiary with jquery yet. Can anyone tell me why I get the > following error. > > Error: $("#suggest1").autocomplete is not a function > Source > File:http://www.refinethetaste.com/html/cp/default.asp?Section=orders&Proc... > Line: 162