Jump to content

Using A "Save As" Dialog Box to export data


deane034

Recommended Posts

Hi,

 

This might be related to Java Script, but thought would be more relevant here as well.

 

Basically, I would like my user to click a link which would open a "save as dialog box" When the user selects a filename, I need some pre-determined data to be saved in that location in the user's Computer.

 

Can't seem to find any examples on Google. Any pointers?

 

Thanks.

 

(What I'm trying to give is an export data option for some data tables using CSV. I got the CSV part sorted. Just need help with the Dialog box, save as part)

 

 

It is indeed javascript related. I think you just needed the right search keyword.

try searching for "javascript modal"

 

here are some posts I made earlier about that subject

http://www.phpfreaks.com/forums/index.php/topic,210459.0.html

http://www.phpfreaks.com/forums/index.php/topic,193208.0.html

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.