On Nov 12, 2008, at 1:46 AM, [EMAIL PROTECTED] wrote:
I was wondering if it my be possible to add autocomplete functionality using the addInputType API. It looks like it might be possible to attach autocomplete to the text input through the "element:" argument when declaring a custom input type.
It should be fairly easy. Usually you just to need to create the element using "element" and add plugin to it using "plugin".
Check for example these custom inputs: http://github.com/tuupola/jquery_jeditable_markitup/tree/master/jquery.jeditable.markitup.js http://github.com/tuupola/jquery_jeditable/tree/master/jquery.jeditable.autogrow.js http://github.com/tuupola/jquery_jeditable/tree/master/jquery.jeditable.charcounter.js http://github.com/tuupola/jquery_jeditable/tree/master/jquery.jeditable.masked.js I can give autocomplete a try later today if I have time. -- Mika Tuupola http://www.appelsiini.net/