Hey,
phpist a écrit :
> Is there any method to update resource array in Autocompleter.Local?
Undoc'd but fairly stable over time: just change the Autocompleter.Local
object's "array" option property:
var suggestions1 = [...];
var suggestions2 = [...];
var al = new Autocompleter.Local('edtCompleted', suggestions1, options);
// ...
al.options.array = suggestions2;
--
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---