There is some good information about disabling auto-fill here http://www.google.com/support/forum/p/Toolbar/thread?tid=7dcddc95f43dac19&hl=en http://www.google.com/support/forum/p/Toolbar/thread?tid=7dcddc95f43dac19&hl=en
But the quick and dirty explanation is that the google toolbar looks for specific text to decide what it is going to autofill. In fact, if there is just the text "Name:" or "First Name:" NEAR an input field, google toolbar will hook into it. I've been researching this problem for a while and it's really insidious. Anyhow we resolved our problem by breaking up this 'nearby' text with a span. (ie. We were having problems autocompleting a name field because the text describing the field had "Name" in it. We broke up the Name text with a span like Na<span>me</span>, and that seemed to fix the google toolbar interference) jjh-3 wrote: > > > I have been on this issue for the past 24hrs and I can't seem to find > the solution. There seems to be a conflict between the jQuery > autocomplete plug-in (http://bassistance.de/jquery-plugins/jquery- > plugin-autocomplete/) and google toolbar's autofill function. I'm > testing this in IE 7. What really confuses me is that the result is > inconsistent. Sometimes the results will show and sometime it doesn't. > > The problem is that when autofill is enabled, it makes the input field > (with autocomplete) loose focus while I'm entering my triggering key > stroke (minChars was set to 3). This triggers the onBlur event in the > autocomplete plug-in and the result will be hidden. > > My JS Code: > var autocompleteUrl = "airport_list.php?q=60&limit=10"; > var autocompleteSettingsObj = { > minChars:3, > width: 300, > scrollHeight: 350, > formatResult: function(data, i, total) { return (data && data.length >> 1) ? data[2] : ' '; } > }; > //setup autocomplete > $("#myInput").autocomplete(autocompleteUrl, autocompleteSettingsObj); > > My HTML Code: > <input type="text" name="formname" id="myInput" value="" size="30" > maxlength="50" class="myclass" autocomplete="off" /> > > Note: Firefox works fine. > > Thanks in advance. > > -- View this message in context: http://www.nabble.com/autocomplete-and-google-toolbar-autofill-conflict-tp20629251s27240p22858082.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.