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
Accepted answer

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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,526 views 25 14
Join discussion

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