1.0.7 • Published 7 years ago

jquery.remoteselect v1.0.7

Weekly downloads
1
License
BSD 2-Clause
Repository
github
Last release
7 years ago

Remote Select is a super-lightweight (2kb) ajax autocomplete solution for use alongside jQuery.

Usage

Remote Select will attach itself to all <select> elements with a remote="" property. The remote property should be set to a URL.

<select name="example" remote="/example/autocomplete"></select>

You can pre-set its value by including an <option> element, like so:

<select remote="/example/autocomplete">
    <option value="1" selected>Current Value</option>
</select>

Your remote source should return JSON data in the format:

{
    "id-1": "Label 1",
    "id-2": "Label 2"
}

Prefer not to download?

No problem. Just use directly from our code site:

<link rel="stylesheet" type="text/css" href="https://code.block8.net/remote-select/jquery.remoteselect.min.css">
<script src="https://code.block8.net/remote-select/jquery.remoteselect.min.js"></script>
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago