Determines the ajax type made to the server. Defaut is GET. Can be a POST
API Tags:
Stores the default options for the autocomplete
API Tags:
When set to true enables client side caching of the results.
This prevent multiple queries to the database. Please use with care.
API Tags:
Defines the uniquie cheche array (used in java script) when a cache is enabled.
API Tags:
Stores the database connection
API Tags:
Stores the database type needed in some db functions
API Tags:
Stores the Id of the element. Should be uniquie value in order to have multiple autocomplates defined in one file.
API Tags:
Determines the height of the autocomplete elemnt. Work only if $scroll option is set to true.
API Tags:
Set the maximum rows send from the query to the autocomplete. If set to
false all the elements are sended to autocomplete
API Tags:
Determines if the data should be loaded at once from the SQL siurce.
Also when set to true only one requrest is done and the data then is stored at client side. No more requests to the server.
API Tags:
Internal variable to determine whnever the script is run for first time.
Prevent running all commands (except data providing) when the autocomplete is crested
API Tags:
Determines if the content in autocomplete should have a scroll. Use this option with the height option - see below. If this option is not set the content will have height equal of the responce rows.
API Tags:
Set the search type for the LIKE SQL operator.
The possible values are startWith - set LIKE value%; contain - set LIKE %value%; endWith - set LIKE %value;
If the value does not match any of the above setting the SQL command is interpreted as it is without adding any additional strings.
API Tags:
Defines the select command for obtaining the data from the database.
Usually this type of command contain the SQL LIKE operator. If the command contain where clause we suppose that this command contain LIKE operator. The serched fields should comtain ? plece holder in order to search om the term element send from the autocompleter. Example: SELECT field1, field2 FROM table WHERE field1 LIKE ? OR field2 LIKE ? As seen you should place a placeholder on the serched fields. The class add the term element automatically to the query. For additional information see the documantation
API Tags:
Stores the source for the autocomplete. Can be a string which should point to file from where to obtain the data. It can be array too.
API Tags:
Stores the term parameter send from autocomplete and then used in query
if needed
API Tags:
Info about the version
API Tags: