On Apr 22, 2009, at 6:17 PM, infringer wrote:

>
> Does anyone know how to turn the browser's autocomplete off for the
> inplaceeditor's field?


The Ajax Autocompleter does this automatically, I'm surprised the IPE  
missed that trick. It's invalid, so you have to sneak it in with JS. I  
just did this for an entire form thusly:

$$('input').invoke('setAttribute','autocomplete','off');

You would need to get the IPE to add this in there, because the field  
doesn't exist until you open the editor -- you can't use a rule like I  
did to access it until it's been built. IPE has some hooks that fire  
after the form is shown, take a look at the docs, under the heading  
"How to execute custom code using the InPlaceEditor's Callbacks".

Walter



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to