{"id":17046543,"url":"https://github.com/tkellogg/comboeditable","last_synced_at":"2026-04-13T23:33:03.892Z","repository":{"id":138884023,"uuid":"2307722","full_name":"tkellogg/comboEditable","owner":"tkellogg","description":"turn a \u003cselect\u003e box into an editable drop down list with this jQuery plugin","archived":false,"fork":false,"pushed_at":"2011-09-23T18:01:19.000Z","size":202,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T03:24:17.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/tkellogg/comboEditable","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkellogg.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":"2011-09-01T13:16:57.000Z","updated_at":"2017-07-27T14:32:58.000Z","dependencies_parsed_at":"2023-05-22T14:45:56.428Z","dependency_job_id":null,"html_url":"https://github.com/tkellogg/comboEditable","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/tkellogg%2FcomboEditable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2FcomboEditable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2FcomboEditable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2FcomboEditable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkellogg","download_url":"https://codeload.github.com/tkellogg/comboEditable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkellogg%2FcomboEditable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259137748,"owners_count":22810769,"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-10-14T09:46:40.907Z","updated_at":"2026-04-13T23:32:58.861Z","avatar_url":"https://github.com/tkellogg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"In Windows UI design there is a concept of an editable combo box/drop down list. However, I haven't been able to find a free version for the web. This editable combo box is a jQuery plugin that degrades nicely into a regular `\u003cselect\u003e` element if scripts are not enabled. \r\n\r\nDemo is available here: http://tkellogg.github.com/comboEditable\r\n\r\nUsage\r\n-----------------\r\n\r\nLink in jQuery UI CSS, and include scripts for jQuery and comboEditable.js\r\n\r\n```html\r\n\u003chead\u003e\r\n\t\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"public/style/jquery-ui-1.8.16.custom.css\"\u003e\r\n\t\u003cscript type=\"text/javascript\" src=\"public/jquery-1.6.2.min.js\"\u003e\u003c/script\u003e\r\n\t\u003cscript type=\"text/javascript\" src=\"public/comboEditable.js\"\u003e\u003c/script\u003e\r\n\u003c/head\u003e\r\n```\r\n\r\nPopulate a regular HTML combo box. For ASP.NET, a `asp:DropDownList` works\r\n\r\n```html\r\n\u003cselect id=\"fruit-choices\"\u003e\r\n\t\u003coption\u003eapples\u003c/option\u003e\r\n\t\u003coption\u003eoranges\u003c/option\u003e\r\n\t\u003coption\u003epineapples\u003c/option\u003e\r\n\u003c/select\u003e\r\n```\r\n\r\nCreate the editable combo box on page load\r\n\r\n```javascript\r\n$(function() {\r\n\t$('#fruit-choices').comboEditable();\r\n});\r\n```\r\n\r\nCompatibility\r\n-----------------\r\n\r\nIt has been tested extensively in Chrome and IE9. Both of these are entirely functional but look a little different in each.\r\nThere is no reason why it shouldn't work in FireFox and IE6-8. \r\n\r\nRequirements\r\n-----------------\r\n\r\nTo display images and allow customized style, I use jQuery UI CSS classes heavily. If you don't use jQuery UI,\r\nyou can still use this by defining these CSS classes:\r\n\r\n* `ui-icon` \u0026 `ui-icon-triangle-1-s` - 16x16 px div with a background image (a downward pointing arrow)\r\n* `ui-corner-right` - rounded corners on the right side of the drop down icon\r\n* `ui-state-default` - items from the drop down list that are not selected\r\n* `ui-state-hover` - item from the drop down list that is being hovered over by the mouse\r\n\r\nThis page of the jQuery UI documentation describes the CSS classes in greater detail: http://jqueryui.com/docs/Theming/API\r\n\r\n\r\nLicense\r\n-----------------\r\n\r\nYou have your choice of MIT or GPL version 2. Most people will want to use the MIT license, but if for some reason you need a GPL license, that is available as well.\r\n\r\n* [MIT License](http://www.opensource.org/licenses/mit-license.php)\r\n* [GPLv2 License](http://www.gnu.org/licenses/gpl-2.0.html)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkellogg%2Fcomboeditable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkellogg%2Fcomboeditable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkellogg%2Fcomboeditable/lists"}