Accessing Macro parameters values with javascript (Atlassian Connect)

Hi Friends, i would like to make a search field in my confluence page such as this input is in an iframe and the content to search is in an other iframe !! :disappointed_relieved:
I know that browser block access to iframe content. So is there any solution to do that ??
Samer Sboui

1 Like

Dear Samer,

did you check the Events from the JavaScript library? You can use those to talk cross iframes and let e.g. iframe2 update its data once it receives an event from iframe1 to do so.

Kind regards


1 Like

thnx @andreas1 , can i send the same event from macro to many macros at the same time ?!

Yes you can do that.

@andreas1 any suggestion ??
I posted another question, can you help me plz ?