%JQREQUIRE{"select2"}%
to make use of Select2 on a wiki page.
Add the jqSelect2
CSS class to a select tag to make it turn into a Select2 widget.
%JQREQUIRE{"select2"}% <select class='jqSelect2' data-placeholder='Select a burger' data-width='element'> <option>Hamburger</option> <option>Hamburger deluxe with gold plating</option> <option>Cheeseburger</option> <option>Joppiburger</option> </select>If Select2 is enabled, you will see the result below:
cd /path/to/foswiki perl tools/extension_installer <NameOfExtension> installIf you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Name | Version | Description |
---|---|---|
Foswiki::Plugins::JQueryPlugin | >=4.20 | Required. |
22 Jan 2024: | better bundling of css and js; fixed perl critics |
26 Oct 2020: | compatibility with jquery-3 |
02 Sep 2016: | add .ui-dialog class to drop-down window for proper base css (Foswiki:Main/MichaelDaum) |
09 Mar 2015: | initial release on foswiki.org (Foswiki:Main/MichaelDaum) |
04 Oct 2012: | initial check-in of select2 3.2 (Foswiki:Main/JanKrueger) |
Author | Jan Krueger, Michael Daum |
Version | 2.10 |
Release | 22 Jan 2024 |
Description | Select2 jQuery widget for Foswiki |
Repository | https://github.com/foswiki/JQSelect2Contrib |
Copyright | © 2012 Modell Aachen GmbH, http://modell-aachen.de/; © 2012-2024 Foswiki Contributors |
License | GPL (GNU General Public License) |
Home | Foswiki:Extensions/JQSelect2Contrib |
Support | Foswiki:Support/JQSelect2Contrib |
![]() |
© 2025 D.Soost & D.Marxsen - All rights reserved © Of all articles by authors Trademarks are the property of their respective owners © Logo by Wikipedia, modified by Administrator | Impressum Disclaimer Datenschutzerklärung |