-
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks