Fixed that "object expected" error.  It seems JQuery (or your
autocompleter) was sensitive to the SCRIPT tag.  Had to make it:

<script language="text/javascript">

instead of:

<script language="javascript">

yet it was just "javascript" for quite awhile now and I was not
getting this error.  Not sure why it would suddenly pitch a fit over
this.

Anyway, now the autocomplete functionality is not working, but I'll
have to experiment with that and post back here if I can't get it
working.


On Jul 12, 11:35 am, AtlantaGeek <[EMAIL PROTECTED]> wrote:
> It's always something.  I am trying to get your version up and
> running, but I keep getting an "object expected" error in IE 7 when it
> hits document.ready.  The code is below.  I have, of course, a texbox
> on the page defined like so:  <input type="text" name="txtItem"
> id="txtItem" size="15" class="form_textbox">
>
> In Firefox, according to Firebug, there is no error, but when I look
> at the DOM, the $ and JQuery nodes are red.  I'm not sure what that
> means - I'm new to Firebug.  Do you see a problem with this code?
>
> <script type="text/javascript" src="jquery-1.1.2.pack.js"></script>
> <script type='text/javascript' src='jquery.bgiframe.min.js'></script>
> <script type='text/javascript' src='dimensions.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="jquery.autocomplete.css" /
>
>
>
> <script language = "JavaScript">
> $().ready(function() {
>
>         function findValueCallback(event, data, formatted) {
>                 $("<li>").text( !data ? "No match!" : "Selected: " +
> formatted).appendTo("#result");
>         }
>
>         function formatItem(row) {
>                 return row[0] + " (id: " + row[1] + ")";
>         }
>
>         function formatResult(row) {
>                 return row[0];
>         }
>
>         $("#txtItem").autocomplete("itemquery.acm", {
>                 minChars: 3,
>                 delay: 150,
>                 width: 400,
>                 autoFill: true,
>                 formatItem: formatItem,
>                 formatResult: formatResult,
>                 selectFirst: false,
>                 extraParams: {
>                         'CustNo': '436887'
>                 }
>         });
>
> });
>
> </script>
>
> On Jul 11, 5:46 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
>
>
>
> > AtlantaGeek wrote:
> > > The guy that originally put me on to Dan'sAutoCompleterlater said he
> > > should have referred me to the one you refer me to, however I need
> > > something that works for a production app, not something that is
> > > "somewhat" stable.  No offense, but an alpha version is not something
> > > I want to use in this web site.  Is there some version of your work
> > > that you consider to be stable?  The site Dan referred me to seems to
> > > indicate some level of stability.
>
> > Sorry, currently there is only that alpha version on the plugin page and
> > the revision in the repository. Stability varies between features. If
> > you use only basic autocomplete without custom parsers or multiple
> > completetition you shouldn't find any non-trivial bugs. Otherwise this
> > plugin simply isn't an option, yet. Of course your feedback would help a
> > lot to get there...
>
> > --
> > Jörn Zaefferer
>
> >http://bassistance.de- Hide quoted text -
>
> - Show quoted text -

Reply via email to