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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
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