This content has been marked as final.
Show 2 replies
-
1. Re: iframe problem
nbelaevski Sep 11, 2008 2:44 PM (in response to lee64)Hello,
Try to use a4j:jsFunction to declare function that'll invoke action or re-render something in iframe A and then call it from another location like this:
top window:<iframe src="cdh.htm" id="abc"></iframe> <a href="javascript:document.getElementById('abc').contentWindow.abc()">click</a>
iframe A:<script> function abc() { alert('abc'); } </script> <a4j:jsFunction name="abc1" reRender="..." ...>
-