# postMessage() function

**URL:** <https://forum.wixstudio.com/t/postmessage-function/8676>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [July 5, 2023, 8:38pm UTC](https://forum.wixstudio.com/t/postmessage-function/8676 "2023-07-05T20:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamipawel](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/kamipawel/32/22002_2.png) [@kamipawel](https://forum.wixstudio.com/u/kamipawel)\
**Post date:** [July 5, 2023, 8:38pm UTC](https://forum.wixstudio.com/t/postmessage-function/8676/1 "2023-07-05T20:38:31Z")

</div>

I have the diagram below:

 ![](https://us1.discourse-cdn.com/wix/original/3X/f/8/f890e9b5825c8bba41fc0d1d0b113639f57c8b8e.png)

The code for the diagram on the html subpage:

 Title ](https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.bundle.min.js"\>) 

I just don’t know how to send information about variables (a, b, c, d, e, f, g) from the page using the  
postMessage() function,  
could anyone help?
