jquery version in AEM6.2 | Community
Skip to main content
February 6, 2017
Solved

jquery version in AEM6.2

  • February 6, 2017
  • 6 replies
  • 3965 views

Hello,

We are upgrading AEM5.6.1 to 6.2.

We need to use at least jquery 1.9.1 or higher for some compoents so we used single jquery in 5.6.1 which is not from AEM.

We want to use a jquery provided from AEM in 6.2 using dependencies -cq:jquery and its version need to be 1.9.1 or higher.

We checked the jquery version and it is 1.8.1.

I would like to make sure what is the jquery version provided from AEM6.2.

Another question, if the jquery is 1.8.1 in AEM6.2, what is good way to use higher version jquery?

 

Thanks,

Keehwan

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

With AEM version of JQeury - you get functionality like ability to perform CORS/AJAX without worrying about cross domain issues.

There is an older thread that talks about this issue: 

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__rglw-hi_all_my_projec.html

 

Ove Lindström provided a good answer here too. 

6 replies

smacdonald2008
February 6, 2017

Just create a clientlib and for any component that uses the higher version - load the clientlib into your component. 

keehwan1Author
February 6, 2017

I used clientlibs and included it with jquery1.13.1 on our components.

Problem is that sometime this jquery is conflicted with jquery provided from AEM like when we use twitter compoent or some OOTB components.

So we decided to use only jquery from AEM. But I recognized that it is lower version (1.8.1).

I am not sure the jquery provided from AEM 6.2 is 1.8.1.

We want to use relative high version like 1.13.1.

smacdonald2008
smacdonald2008Accepted solution
February 6, 2017

With AEM version of JQeury - you get functionality like ability to perform CORS/AJAX without worrying about cross domain issues.

There is an older thread that talks about this issue: 

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__rglw-hi_all_my_projec.html

 

Ove Lindström provided a good answer here too. 

keehwan1Author
February 6, 2017

Thank you, Scott

This issue has been resolved.

The problem in our qa environment was cache in web server.

qa author and pub get correct version of jquery from AEM6.2. However webserver used old version of jquery.

After deleting cache in webserver, this problem hase been resolved.

Thanks,

smacdonald2008
February 6, 2017

I am glad you got it working - for others reading this - see Ove response in the thread i referenced. 

July 28, 2022

Quiero ver los videos