-
a problem with events
hi!
I canīt handle events as onclick, on scroll, ... of main window from a child
window. Why?
I try with the following code:
<SCRIPT LANGUAGE=javascript>
Ventana_Principal=window.opener;
function detecta_Scroll()
{
alert("dentro de detecta_Scroll");
}
function detecta_Click()
{
alert("dentro de detecta_Click");
}
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=Ventana_Principal.document EVENT=onclick>
detecta_Click()
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=Ventana_Principal EVENT=onscroll>
detecta_Scroll()
</SCRIPT>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|