Afraid I don't i'm using a dev server at the moment....

On Jun 19, 4:05 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> Do you have a liver version I can look at?
>
> On 6/19/07, c19h28o2 <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
>
> > Hmmm I didn't spot that! I've changed it but its still complaining?
>
> > Benjamin Sterling wrote:
> > > $("#contentArea").load("autocomplete.php?typing='+id+'");
>
> > > should be
>
> > > $("#contentArea").load("autocomplete.php?typing="+id);
>
> > > you were using ' instead of "
>
> > > test that out and let me know if you still get the error.
>
> > > On 6/19/07, c19h28o2 <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I'm getting a javascript error when i run this... its an IE error
> > > > "Object expected line 10 char 5" any ideas?
>
> > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/
> > > > TR/html4/strict.dtd">
> > > > <html>
> > > >         <head>
> > > >                 <meta http-equiv="Content-Type" content="text/html;
> > > > charset=iso-8859-1" />
> > > >                 <title>Untitled Document</title>
> > > >                                 <script type="text/javascript"
> > > > src="jquery.js"></script>
> > > >                  <script type="text/javascript">
>
> > > >                         function loadContent(id) {
> > > >                                 $("#contentArea").load("
> > autocomplete.php
> > > > ?typing='+id+'");
> > > >                         }
> > > >                 </script>
>
> > > >         </head>
> > > >         <body>
> > > >     Answer: <div id="contentArea"></div>
>
> > > >     <input type="text" name="query" onkeyup="loadContent(1)"/>
>
> > > >         </body>
> > > > </html>
>
> > > > Thanks
>
> > > --
> > > Benjamin Sterling
> > >http://www.KenzoMedia.com
> > >http://www.KenzoHosting.com
>
> --
> Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com

Reply via email to