Expand my Community achievements bar.

SOLVED

Upgrading JQuery version in AEM 6.2

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

3 Replies

Avatar

Employee

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

Avatar

Correct answer by
Level 10

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.