The default jQuery version used in Liferay DXP can vary depending on the specific version and any applied fix packs. Here are some details:
- Liferay 5.2.x:
- Liferay 5.2.x uses jQuery 1.2.6.
- Liferay 6:
- Liferay 6 uses Alloy UI instead of jQuery. This means you can use any version of jQuery you need for your custom developments.
- Liferay DXP 7.1:
- By default, it comes with jQuery version 3.3.1.
- If you have a fix pack called dxp-14 installed, jQuery might be upgraded to version 3.4.0.
- Liferay DXP 7.2 and above:
- The default jQuery version is 3.5.1.
Also Read: How to enable Jquery in Liferay
Type jQuery.fn.jquery
or $.fn.jquery
in the browser console to display the current jQuery version in Liferay.