Making custom javascript global on the page

hello all,

I have a javascript that was generate by genai and it works the way i want it to be using bubble’s HTML Elements. however, i am not sure how to make this .js file global in some of the pages that requires this .js file. i sure hate changing it multiple times. do you have any guidance for me? thank you.

Why don’t you put in a reusable element then put the reusable in all of the pages in your app?

thats a good suggestion. i never though of that. thank you so much. also, is it the preferred way to go about solve this problem?

i’m new to bubble and appreciate the guidance.

Yes, it’s the optimal solution for this problem, if you use a header or sidebar, that’s the best place to put these kind of code in

This topic was automatically closed after 70 days. New replies are no longer allowed.