Upgrading JQuery version in AEM 6.2 | Community
Skip to main content
New Participant
May 8, 2018
Solved

Upgrading JQuery version in AEM 6.2

  • May 8, 2018
  • 2 replies
  • 3444 views

Hi Team,

Can you please suggest how to upgrade the JQuery version in AEM 6.2. Is it recommended. If not what are recommended ways to do this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

You are free to use any JQuery version you want in AEM.

Simply create a clientlib - name it something like newJquery and place the new JQuery JS libs in it.

AEM supports that. Only issue is if you want to perform an AJAX request - the default JQuery cq.jquery has a token that lets you perform AJAX operations.

MOst use cases for JQuery are fine with the default AEM JQuery version.

2 replies

smacdonald2008
smacdonald2008Accepted solution
New Participant
May 8, 2018

You are free to use any JQuery version you want in AEM.

Simply create a clientlib - name it something like newJquery and place the new JQuery JS libs in it.

AEM supports that. Only issue is if you want to perform an AJAX request - the default JQuery cq.jquery has a token that lets you perform AJAX operations.

MOst use cases for JQuery are fine with the default AEM JQuery version.

New Participant
August 28, 2023

Won't this create two versions of jquery?

Employee
May 8, 2018

I don't think it is possible for us to upgrade to jQuery 3.x as it is not compatible with the target browsers of 6.1 and 6.2. Although you can use the jquery added to your project clientlibs and use it on need basis