on my website I have a function:
function display(){
alert("Hello World!");
}
and a iframe Widget (Chatwoot Live Chat) I can send an Message with an link (inside the frame)
<a href="javascript:window.top.display();">My Link</a>
I cant modify the structure. I can only pass the href paramter.
So I tried href=javascript:window.top.display();
to call the "external" function from iframe.
But I get no error in the console and no alert. Any Ideas?