?
Solved

Event Listener for a specific popup

Posted on 2008-06-17
2
Medium Priority
?
346 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…
Suggested Courses

752 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