Hi,
i have a main file (index.php)
i create a layout and a a view
ContentZone.view(“myview”).attachURL(“page1.php”);
in page1.php, i have a function javascript
function hello()
{
alert(‘hello’);
}
How can I call the function “hello” from index.php?
I try:
ContentZone.getView().hello(); → don’twork
ContentZone.getView().getFrame().hello(); → don’t work