How can i call a javascript function between webix iframe and parent html

Use $$(“target”).getIframe? or $$(“target”).getWindow?
I have no idea T.T

suppose you created the iframe “myFrame”


body:
{
view:“iframe”,
id:“myFrame”,
src: “test.aspx”
}

if you’re in the parent frame, you should call a function from the iframe, getting the object with getWindow

var objFrame=$$(‘myFrame’).getWindow();
objFrame.testFunction();

if you’re in the iframe itself, and want to call a function from the container frame, you should use “parent”

parent.containerFunction();

Yeah!!! Success !!! Thank you very much!!! ^^