Forum Academy Marketplace Showcase Pricing Features

Issues with generating HTML hyperlinks using Toolbox - Run Javascript


I have an Object defined by a title and a list a links, for each Object i need to generate the html hyperlink of the associated links, like so : <a href="link1">Title1</a><br/><a href="link2">Title2</a>. A link is a thing defined with a title and an url.

The object is identified by a parameter (obj) in the page url, like so :
In order to generate these html tags, i use the Run Javascript module from the Toolbox pluggin :

My Javascript To Bubble function is defined like so :

And it is returning an empty value, does any of you have a idea of what did do wrong ?

I have tested my code in codepen and it is working just like I want :
A simple model of the issue is available here :

Thanks in advance