1.0.1 • Published 7 years ago

selected.js v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

selected.js

A simple, no-dependency <select> replacement. Check out my blog post and the example page for more info.

Synopsis

<!-- in <head>-->
<link rel="stylesheet" type="text/css" href="selected.min.css" />

<form>
    <select>
        <option value="hello">Hello</option>
        <option value="world" selected>World</option>
        <option value="another">Another</option>
    </select>

    <select multiple>
        <option value="hello">Hello</option>
        <option value="world" selected>World</option>
        <option value="another">Another</option>
    </select>
</form>

<!-- just before </body> -->
<script type="text/javascript" src="selected.min.js"></script>