@stanislaw.grin helped me with one example to copy to the clipboard, which I followed. But with the examples above, I think they use the input ID, which isn’t the same in UI builder as the rendered HTML and the JS would be running against the rendered HTML?
Anyways an understanding of how to make one of these work in UI-Builder would be great!
Which wasn’t working. When I did the following I was then able to call the JS function. I thought that simply including it would have made the function available but I guess not?
In the writeup from Mark you shared above he specifically mentions using the anchor input for situations like this, however, there isn’t an anchor input for text inputs.
Can’t answer, cause we didn’t develop this library.
It could extend window object or return any kind of data(including functions). In both cases it’s JS related question, and may take a lot of time to explain it.
But I can advice you read about - Global Objects
I assumed that if you set the ID in UI-Builder like this it would be rendered in the HTML.
ID in UI-Builder designer needed for Codeless purpose. If you want to use an anchor(native ID), you could do it as Mark says.