0

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?

Trombone0904
  • 4,132
  • 8
  • 51
  • 104

0 Answers0