Jump to content

How to handle Save File Dialog Box?


gelo.salazar

Recommended Posts

If it's JavaScript then try:

var save = confirm('are you sure you wish to save this ..');

if (save ==true){
    Window.location = http://www.URL.tosendemailfunction?send=true&id....
}
else
{
window.location = somewhere else
}

 

Hope this gives u the general idea

PFMaBiSmAd is right, I am sorry, I was under the assumption you had wrote the dialog window yourself. You might want to look into taking more contol of the download aspect of your site. A good place to start is the jquery UI. Your could perhaps look at writing your open dialog window using jquery.

 

http://docs.jquery.com/UI/Dialog

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.