{"id":20977303,"url":"https://github.com/2degrees/jquery.selectmultiple","last_synced_at":"2025-03-13T09:40:11.324Z","repository":{"id":139812486,"uuid":"4260712","full_name":"2degrees/jquery.selectmultiple","owner":"2degrees","description":"Good-looking UI widget to replace the native select[multiple] widget","archived":false,"fork":false,"pushed_at":"2014-07-04T14:32:28.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-20T06:14:22.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2degrees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-08T12:58:43.000Z","updated_at":"2017-05-06T08:37:07.000Z","dependencies_parsed_at":"2023-03-12T15:06:22.096Z","dependency_job_id":null,"html_url":"https://github.com/2degrees/jquery.selectmultiple","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fjquery.selectmultiple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fjquery.selectmultiple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fjquery.selectmultiple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2degrees%2Fjquery.selectmultiple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2degrees","download_url":"https://codeload.github.com/2degrees/jquery.selectmultiple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243382137,"owners_count":20281998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T04:58:15.286Z","updated_at":"2025-03-13T09:40:11.301Z","avatar_url":"https://github.com/2degrees.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery.selectmultiple\n\nFed-up with the poor usability of the native HTML select mutiple element? If so, use **jQuery.selectmultiple** and allow users to understand how they can choose multiple options without using the `[Ctrl]` or `[Cmd]` key!\n\n## Dependencies\n\n* jQuery 1.7.2+\n* jQuery UI 1.8.20+\n  * jquery.ui.core.js\n  * jquery.ui.mouse.js\n  * jquery.ui.widget.js\n  * jquery.ui.sortable.js\n\n*NB: An older version of jQuery UI might work (no testing done). However, jQuery 1.7.0 will be required due to the new event based syntax.*\n\n## Usage\n\nInclude the plugin-script along with the jQuery and the required jQuery UI dependencies (see above), e.g.\n\n```html\n\u003cscript src=\"lib/jquery-1.7.2.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"lib/jquery-ui-1.8.20.custom.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"jquery.selectmultiple.js\"\u003e\u003c/script\u003e\n```\n\nThen inside a javascript file (or inline in a script tag), call the ``selectmultiple()`` method on the wrapped set you wish to update, e.g.\n\n```javascript\n$('select[multiple]').selectmultiple();\n```\n\n### AMD\n\nAlternatively you can include the module with require.js or similar:\n\n``` javascript\nrequire(['jquery', 'jquery.selectmultiple'], function ($) {\n  $(function () {\n    $('select[multiple]').selectmultiple();\n  });\n});\n```\n\n*NB* This relies on jQuery UI being available under the name 'jquery.ui'.\n\n## Notes\n\nAny options passed to the widget, will be passed as options to the underlying sortable widget to allow for customization of that widget.\n\n## Supported browsers\n\n* Internet Explorer 6+\n* Firefox 12.0 on Ubuntu 11.10, OS X Lion 10.7.3\n* Chromium 18.0.1025.168 on Ubuntu 11.10\n* Chrome 18.0.1025.168 on OS X Lion 10.7.3\n* Safari 5.1.5 (7534.55.3) on OS X Lion 10.7.3","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2degrees%2Fjquery.selectmultiple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2degrees%2Fjquery.selectmultiple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2degrees%2Fjquery.selectmultiple/lists"}