Skip to content

Commit fa88402

Browse files
authored
Updated readme
Readability changes
1 parent aca25b9 commit fa88402

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

readme.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@ Devbridge Group accelerates software to market for enterprise clients through de
77
Ajax Autocomplete for jQuery allows you to easily create
88
autocomplete/autosuggest boxes for text input fields.
99

10-
Has no dependencies other than jQuery.
10+
It has no dependencies other than jQuery.
1111

1212
The standard jquery.autocomplete.js file is around 13KB when minified.
1313

1414
## 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)
2120
| Setting | Default | Description |
2221
| :--- | :--- | :--- |
2322
| `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.
4342
| `tabDisabled` | `false` | Set to true to leave the cursor in the input field after the user tabs to select a suggestion |
4443

4544

46-
### Event function settings (for local and Ajax searches)
45+
### Event function settings (local and Ajax)
4746
| Event setting | Function description |
4847
| :--- | :--- |
4948
| `onSearchStart` | `function (params) {}` called before Ajax request. `this` is bound to input element |

0 commit comments

Comments
 (0)