iFrame CSS Menu pass Variable to Parent

That window.parent.tableUpdate(sp); won´t work. The ONLY way to communicate in Wix with the iframe (aka html-component) is by using postMessage/onMessage. Please refer to the docs on the html-component or have a look at one of my contributions for a working example: https://girizano.wixsite.com/codecorner/post/html-component-not-running-in-publish-mode-google-sheets-example