aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes listening to windows dialogue events in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "listening to windows dialogue events in javascript" Watch "listening to windows dialogue events in javascript" New topic
Author

listening to windows dialogue events in javascript

Mohd Asim
Greenhorn

Joined: Jul 04, 2007
Posts: 24
I am developing an application in which i have a button (export as excel)upon clicking which a file download dialogue box with options to 'open', 'save','cancel' the download appears. Since the download dialogue box is provided at the OS level, how do i know what option the user has chosen from the dialogue box.... i would want to be able to get the events fired by that box in my JSP using javascript... how do i go about that? Thanks in advance.
Mohd Asim
Greenhorn

Joined: Jul 04, 2007
Posts: 24
in other words.. i just need to know whether the download dialog box is closed (in all three cases that would happen)... so that i can re-enable the 'export as excel' button...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript can not detect any actions from that.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: listening to windows dialogue events in javascript