K
keith
Hello,
I have an object on a parent page. I also have a child window spawned
off that parent page. I want the child window to listen for an
"onclick" event on that object and execute some actions when that
happens. The code is as follows:
object on parent page:
<INPUT type="button" value="My Button" name="MyButton"
onclick="doSomething">
listener on child page:
<script language="JScript" event="onclick" for="window.opener.MyButton"alert("Hello World");
</script>
I have tried removing the "onclick" event from the button, i've
verified that referencing the object as "window.opener.MyButton" works.
I've verified that if I place the listener directly on the parent page
it works. PLEASE HELP!!!! What am I missing???
I have an object on a parent page. I also have a child window spawned
off that parent page. I want the child window to listen for an
"onclick" event on that object and execute some actions when that
happens. The code is as follows:
object on parent page:
<INPUT type="button" value="My Button" name="MyButton"
onclick="doSomething">
listener on child page:
<script language="JScript" event="onclick" for="window.opener.MyButton"alert("Hello World");
</script>
I have tried removing the "onclick" event from the button, i've
verified that referencing the object as "window.opener.MyButton" works.
I've verified that if I place the listener directly on the parent page
it works. PLEASE HELP!!!! What am I missing???