jQuery version used in Confluence 5?

I noticed that the jQuery version packaged with Confluence has been upgraded, but I'm not sure what version it has been upgraded to and I'm not entirely sure how to find out. I've found that jquery has been listed in the pluginServiceContext but I don't see a version there. I've also found that there's a jquery-1.6.4.js library in the confluence-qunit-test package, but I don't want to rely on that since it probably isn't shipping as part of confluence.

2 answers

1 accepted

2 votes
Answer accepted

This answers topic here: https://answers.atlassian.com/questions/40807/use-of-jquery-in-confluence

Suggests that the version can be obtained by using the following:

alert(AJS.$().jquery);

Thanks! Works like a charm!

For those interested, it's version 1.7.2 that's available in Confluence 5

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

259 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you