You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,16 @@ Devbridge Group accelerates software to market for enterprise clients through de
7
7
Ajax Autocomplete for jQuery allows you to easily create
8
8
autocomplete/autosuggest boxes for text input fields.
9
9
10
-
Has no dependencies other than jQuery.
10
+
It has no dependencies other than jQuery.
11
11
12
12
The standard jquery.autocomplete.js file is around 13KB when minified.
13
13
14
14
## API
15
-
16
-
*`$(selector).autocomplete(options);`
17
-
* Sets up autocomplete for input field(s).
18
-
*`options`: An object literal which defines the settings to use for the autocomplete plugin. Available option settings listed below.
19
-
20
-
### General settings (for local and Ajax searches)
15
+
The following sets up autocomplete for input fields where `options` is an object literal that defines the settings to use for the autocomplete plugin. All available option settings are shown in the tables below.
16
+
```js
17
+
$(selector).autocomplete(options);
18
+
```
19
+
### General settings (local and Ajax)
21
20
| Setting | Default | Description |
22
21
| :--- | :--- | :--- |
23
22
|`noCache`|`false`| Boolean value indicating whether to cache suggestion results |
@@ -43,7 +42,7 @@ The standard jquery.autocomplete.js file is around 13KB when minified.
43
42
|`tabDisabled`|`false`| Set to true to leave the cursor in the input field after the user tabs to select a suggestion |
44
43
45
44
46
-
### Event function settings (for local and Ajax searches)
45
+
### Event function settings (local and Ajax)
47
46
| Event setting | Function description |
48
47
| :--- | :--- |
49
48
|`onSearchStart`|`function (params) {}` called before Ajax request. `this` is bound to input element |
0 commit comments