Add Javascript to bubble

Hi guys, I am learning JavaScript and would like to deploy some basic code to it, but how do I integrate it with bubble

Create a plugin. It’s easier than it seems.
Or just use the Toolbox plugin.

1 Like

@vini_brito is correct that a plugin is the “right” way to go about it. However, if you just want to quickly test some client-side code on a page, you can add an HTML element and put the JS between <script></script> tags.

However, depending on what your code does, just be aware that you could encounter issues related to execution order, so you should be familiar with jQuery’s document “ready()” handler and other techniques for “controlling” execution order.

2 Likes

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