Solved

Event Listener for a specific popup

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

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…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
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…

792 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