This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

listening to windows dialogue events in javascript  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!