Solved

Event Listener for a specific popup

Posted on 2008-06-17
2
333 Views
Last Modified: 2013-12-02
Hello,

I have a reporting engine that works off of tomcat. This applet is then introduced in an iframe into a regular html page. When a person clicks on the View Report icon, a div then appears that says Processing. On one instance, when a user selects pdf, the div disappears as it should because they are forwarded to the next page. But whenever the user selects .xsl or .csv, then a popup appears to download a file. Unfortunately, the div layer does not disappear when this popup appears, nor when the user presses okay or cancel. Is there an event listener I can tie to this popup window for file download? That if a user presses okay or cancel that this div layer should then hide?
0
Comment
Question by:cgaviria
2 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 21811299
Not likely. The download is a system generated dialog.
If you have the download in an iframe in the div you pop, then maybe...
0
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 21811883
You can assign some JavaScript event handlers on the click of the .csv or .xls link that hides the div.

<A HREF="<your .csv file" onClick="<call JavaScript method to hide the div>">
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question