Thank you for reply. I rather don't want to modify the sources. The resulting update problems is no worth the trouble...
But i think it's a bug. I don't see the sense of such an attribute. Perhaps I should open a ticket for that issue... I commented the line out from the ajax helper. The helper works fine as usual. So i think this attr is not needed... Regards, Alexander On 27 Nov., 18:23, RichardAtHome <[EMAIL PROTECTED]> wrote: > One solution is to add the autocomplete class at runtime at page > load. > > This example uses jQuery as that's what I'm most famliar with: > > $(document).ready(function() { > $("CityNameDe").attr("autocomplete", off"); > > }); > > You will have to tweak the original code in the autocomplete helper > and remove the autocomplete='off' option. > > On Nov 27, 2:45 pm, cronet <[EMAIL PROTECTED]> wrote: > > > Hi, > > > i'm using Nate's excellent autocomplete class in Cake 1.2 (http:// > > cakebaker.42dh.com/2006/06/06/autocompletion-the-easy-way/) > > > calling it simple in view: > > > echo $ajax->autocomplete('City.name_'.$lang); > > > output: > > > <input name="data[City][name_de]" type="text" id="CityNameDe" > > autocomplete="off" value="" /> > > > But, "autocomplete" is no valid value in xhtml, and the Site is marked > > as not Valid. > > > Is that attribute needed? > > How can i switch this off? > > > Regards, > > Alexander --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---