Solved

Event Listener for a specific popup

Posted on 2008-06-17
2
317 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now