📜 ⬆️ ⬇️

JQuery plugin overview for styling selects

Every coder at least once argued with the designer about non-standard form elements. But since the developers have come up with solutions for non-standard selects, then let's consider them and put everything on the shelves.

It is no secret that standard selects have an extremely weak level of styling with CSS. In some browser they are a little better, in some slightly worse, but the overall picture is very sad. As usual, where pure HTML + CSS can't cope, jQuery comes to the rescue.

There are really quite a few plugins for replacing selects, but I still want to take a closer look at them. In this article I would like to highlight the features of each of the plug-ins. Their number is really huge, so the review does not pretend to be complete (but I will sort out the most basic plugins). , Perhaps, from the simplest.
')

Standard select



Advantages:Disadvantages:

Select Box Factory 2


Select Box Factory 2
Really big plugin with tons of options.
Volume: 29KB
Additional functions: (this plugin has a lot of them, I will give the main ones)Requirements:Advantages:
Disadvantages:

jQuery Searchable DropDown Plugin


jQuery Searchable DropDown Plugin
Hybrid select'a and autocomplete'a. Based on the standard select, that is, it has almost all its advantages and disadvantages.
Volume: 12KB
Additional functions:Requirements:Advantages:Disadvantages:

jQuery Custom Select Box


jQuery Custom Select Box
A specific plugin, it is better to look at an example. Does not hide selected items, leaving them visible.
Volume: 8KB
Additional functions:Requirements:Advantages:
Disadvantages:

jQuery custom selectbox


jQuery custom selectbox
Simple and easy plugin, which, unfortunately, has some drawbacks.
Volume: 3KB
Additional functions:Requirements:Advantages:
Disadvantages:

jQuery Selectbox plugin


jQuery Selectbox plugin
Simple substitution of select. The plugin is useless due to flaws.
Volume: 8KB
Additional functions:Requirements:Advantages:
Disadvantages:

jQuery SelectBox Plugin


jQuery SelectBox Plugin
Almost perfect plugin.
Volume: 16KB
Additional functions:Requirements:Advantages:
Disadvantages:

jquery.sb.js Selectbox Replacement


jquery.sb.js Selectbox Replacement
It looks like the previous one, and even surpasses it in some parameters.
Volume: 20KB (along with additional scripts)
Additional functions:Requirements:Advantages:
Disadvantages:

Plug-ins that at the current stage of their development are not worthy of our attention:

findings

I think the disadvantage of the plugin is that it does not work in IE6, but for many it does not matter. Personally, I am of two plug-ins that are identical in functionality, in any case I will choose cross-browser.
Volumes of plug-ins are indicated only for their js-part (and compressed).


This review is a sample of the pen. Hopefully, it will be useful for the habrasoobschestvu. Comments and additions are welcome.

upd
Plugins that habrayuzer advised:Combines that replace all form elements:

Source: https://habr.com/ru/post/114927/


All Articles