ComboStrap - JQuery
About
jquery is available in the strap template.
Version
See
To get the JQuery Version, you need to open the Browser console and type
jQuery().jquery
// and
jQuery.ui.version
Example:
jQuery Conflict with Bootstrap 4
If you use bootstrap version 5, there is no conflict, only the Jquery of Dokuwiki is used.
Bootstrap 4 is packaged with a Jquery and therefore we have a conflict with the jQuery of DokuWiki and we need to choose.
By default, the jquery version is:
- for an anonymous user, the Jquery version of Bootstrap Bootstrap does not use Jquery-ui
- for a logged-in user, the Jquery version of Dokuwiki.
You can change this behavior with the JqueryDoku configuration in order to use only the Jquery bundle of DokuWiki.
Configuration
jQueryDoku
As Bootstrap 5 does not use Jquery anymore. This configuration become obsolete from release 1.13
The JqueryDoku configuration tells the stap template to use the Dokuwiki Jquery and not the Bootstrap Jquery Version for anonymous users.
It may add inconsistency with Bootstrap. If you need a front-end component that use Jquery UI, contact us to see if there is not already a bootstrap component.
Since version 1.6