# jquery-selectskin

> A basic html select element replacement.

Latest version **2.0.4** (published 2016-10-14) · 0 weekly downloads

## Install

```sh
npm install jquery-selectskin
pnpm add jquery-selectskin
yarn add jquery-selectskin
bun add jquery-selectskin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2016-10-14 |
| First published | 2016-10-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Carlos Roberto Gomes Junior |
| Maintainers | Carlos Roberto Gomes Junior |
| Keywords | form, select, replacement |

## Links

- npm: https://www.npmjs.com/package/jquery-selectskin
- Repository: https://github.com/carlosrberto/jquery-selectskin
- Homepage: http://carlosrberto.github.com/jquery-selectskin/
- Issues: https://github.com/carlosrberto/jquery-selectskin/issues
- npm.io page: https://npm.io/package/jquery-selectskin

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.4 (latest) — 2016-10-14

## README

# jQuery SelectSkin

A basic html select element replacement.

## About the 2.0 release

* API with some useful methods
* Compatibility with jQuery 1.9+
* Required jQuery 1.7+

## Demo

http://carlosrberto.github.com/jquery-selectskin/

## Usage
```javascript
$(function(){
	$('select').SelectSkin();
});
```

## Download

All ready-to-use files are located in the [`dist/`](dist/) directory.

## API

Some useful methods:

|    Method   |                     Usage                     |                                                         Description                                                          |
|-------------|-----------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| **update**  | ```$('select').SelectSkin('update')```        | Update SelectSkin text, useful in cases where the content of the select element is changed without using the SelectSkin API. |
| **empty**   | ```$('select').SelectSkin('empty')```         | Empty the select element.                                                                                                    |
| **append**  | ```$('select').SelectSkin('append', html)```  | Append new elements to select element, `html` must be a string, an option element or a jquery object.                        |
| **prepend** | ```$('select').SelectSkin('prepend', html)``` | Prepend new elements to select element, `html` must be a string, an option element or a jquery object.                       |
| **reset**   | ```$('select').SelectSkin('reset')```         | Reset the select element, show the first option element as selected.                                                         |
| **destroy** | ```$('select').SelectSkin('destroy')```       | Destroy all SelectSkin references, events and elements.                                                                      |

---
_Source: https://npm.io/package/jquery-selectskin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
