Call parent function from 'Inner HTML' in layout cell-SOLVED

I have a layout with cell ‘c’ having URL html content (‘InnerHTML’). I want to call FROM InnerHTML a function in the parent script. You have an example of how to manipulate another cell from InnerHTML but no example of how to call a function.

Thanks for your help.

Purvez

The statement is:
parent.someFunction();

Hello,

if the page is loaded into an iframe (layout.cells(“c”).attachURL(url)), you may call a function in the parent window by parent.someFunction();

In case of Ajax loading (layout.cells(“c”).attachURL(url,true)), someFunction() would be enough to call a function.