I did not include <head></head> part in my previous message. The
following code is included in the head section:

<script type="text/javascript" src="jquery.js"></script>
<script type='text/javascript' src='jquery.bgiframe.min.js'></script>
<script type='text/javascript' src='jquery.ajaxQueue.js'></script>

<script type='text/javascript' src='thickbox-compressed.js'></script>
<script type='text/javascript' src='jquery.autocomplete.js'></script>
<script type='text/javascript' src='localdata.js'></script>
<link rel="stylesheet" type="text/css" href="main.css" />


On Mar 5, 8:05 am, MorningZ <morni...@gmail.com> wrote:
> 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

Reply via email to