Can anyone confirm or deny this? Or not confirm or deny it?
On Mon, Jan 23, 2006 at 02:34:09PM -0800, Bill Moseley
wrote:> I noticed that the latest control.js disables auto complete:
>
>
this.element.setAttribute(''autocomplete'',''off'');
>
> So I removed my inline "autocomplete=''off''"
from my input fields.
> But Firefox still auto completes.
>
>
> Using the Firefox DOM Inspector I do see that it''s applied
> by Ajax.Autocompleter as expected. The Inspector displays this for
> the input field:
>
> <input type="text" name="url" id="url"
autocomplete="off" style=""/>
>
> Yet, Firefox still auto completes. If I inline the attribute then
> firefox does not auto complete.
>
> I do save up my javascript to the end of the page. So I don''t
call
> Ajax.Autocompleter until the very end of the page. Could that be a
> problem?
>
>
> [...]
> </div>
> <script type="text/javascript">
> <!--
> document.forms[0].url.focus()
> new Ajax.Autocompleter(''url'',
''url_auto_complete'',
''http://localhost/test'', { method: ''get'',
requestHeaders: [''X-Ajax-Complete'',
''complete''], minChars: 3})
> new Ajax.Autocompleter(''title'',
''title_auto_complete'',
''http://localhost/test'', { method: ''get'',
requestHeaders: [''X-Ajax-Complete'',
''complete''], minChars: 3})
> -->
> </script>
>
> </body>
> </html>
>
>
>
> --
> Bill Moseley
> moseley-kv6DSSSScSo@public.gmane.org
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
--
Bill Moseley
moseley-kv6DSSSScSo@public.gmane.org