• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

listening to windows dialogue events in javascript

 
Mohd Asim
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript can not detect any actions from that.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic