- Fri Mar 24, 2017 4:49 pm
#789957
Hello All,
Could you help me and advise me how to catch the events related to the Panel?
I have created a dynaform with a panel (the panel id is "mypanel"). In the "content" property of the panel I have put an iframe
<iframe src="http://test.example.com/testfile.html" id="myframe" width="400" height="250" > </iframe>
I would like to catch the load event (or the click event) in JavaScript to run a function (myFunction), I tried several ways such as:
$("#mypanel").click ( myFunction );
document.getElementById("myframe").onclick = myFunction;
Unforunately nothing works. Please help.
Thanks in advance.
Could you help me and advise me how to catch the events related to the Panel?
I have created a dynaform with a panel (the panel id is "mypanel"). In the "content" property of the panel I have put an iframe
<iframe src="http://test.example.com/testfile.html" id="myframe" width="400" height="250" > </iframe>
I would like to catch the load event (or the click event) in JavaScript to run a function (myFunction), I tried several ways such as:
$("#mypanel").click ( myFunction );
document.getElementById("myframe").onclick = myFunction;
Unforunately nothing works. Please help.
Thanks in advance.