How to retrieve a variable from an HTML component based on onclick = "function(this)" functionality?
I've written custom HTML to create a list using the HTML component in the Windmill app. I want to retrieve the <li> tag value that was clicked on the component. Is there a way to do this?
5 Replies
I don't think so, you will probably want to use custom components instead
(which does require EE)
I see. Thank you!
there ar eprobably ways to communicate data between frame and the parent
but we haven't explored it enough to provide you with guidance
I tried sometime ago
<button onclick="window.parent.postMessage('hi');">hi</button>
and in a background runnable it did post the message^
@Faton we should document thise