Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how can I add .js file ?

LYY April 15, 2018

I tried to put the .js file in \confluence\includes\js\my.js, and I add 

<script type="text/javascript" src="/confluence/includes/js/my.js"></script>

in my Custom html setting.

I reload the page but nothing happened.

I miss something?

1 answer

1 accepted

0 votes
Answer accepted
Sloan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2018

Hi @LYY

Did you follow this Knowledge Base page? How to use JavaScript in Confluence

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events