Did you know ... | Search Documentation: |
Pack weblog -- prolog/html_form/autocomplete.pl |
jQuery based autocomplete widget
Generator is an arity n term that corresponds to an arity n+1 predicate.
autocomplete//1 will repeatedly query Generator for information and build up the autocomplete field. The final argument may be
choice(-Atom)
A choice for the autocomplete fieldid(-ID)
The input field id will be set to this. default tagschoice(+Term, -Choice)
where Term is an atom representation of
the current contents of the field, and Choice is an atom
representation of one of the choices