The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
comboselect improvement
| Project: | ComboSelect |
| Version: | 1.0.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Attached to this post, you will find a new version of the combo select with some improvment.
We have seen several issues using severals comboselect in the same forms.
First of them is that when some options from distinct combo select has the same value, the selso sort does not work, we solve it using the select ID concatenated with the option value in the generation of the option ID.
Second of them is that the sort function was apply several times for the same event, this have been solved moving parts of the code in the each() call.
The "sort" option has been renamed in "tosort", because the "sort" option is now used to be able to customize the selso sort to apply (in our case, to display a tree where the title of the option is used as numeric sort), and a "size" option has been add for appearence (perhaps it should be removed).
Inputs have been replace by buttons, that are more flexible in CSS usage.
We removed some CSS to keep only mandatory ones.
Have a look...
Thanks.
| Attachment | Size |
|---|---|
| jquery.comboselect.js | 6.29 KB |
| jquery.comboselect.css | 497 bytes |
- Login to post comments
