>From the wiki -
Tokenized autocompletion
Tokenized incremental autocompletion is enabled automatically when an
autocompleter is instantiated with the 'tokens' option in the options parameter:
new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
will incrementally autocomplete with a comma as the token.
Additionally, ',' in the above example can be replaced with a token array, e.g.
tokens: [',', '\n'] } which enables autocompletion on multiple tokens.
This is most useful when one of the tokens is \n (a newline), as it allows
smart autocompletion after linebreaks.
Regards,
Mandy.
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs