I have a iframe (in my domain), that iframe has a file iframe.js.
iframe.js
My parent document has a file parent.js.
parent.js
I need to call a functio
Try just parent.myfunction(). Also be 100% sure that the parent.js is included in your parent document.
parent.myfunction()