Linked Questions

0 votes
0 answers
137 views

I have an array of time sheet data that I want to export as a csv file. My current implementation works great in Chrome, but not in Firefox or Safari (I haven't tested other browsers). Here's an ...
james's user avatar
  • 110
0 votes
0 answers
25 views

document.getElementById('add-note').addEventListener('click', function() { var note = prompt('Enter your note:'); if (note) { var li = document.createElement('li'); li....
Sinan Bin faisal's user avatar
321 votes
10 answers
640k views

How do you set the name of a blob file in JavaScript when force downloading it through window.location? function newFile(data) { var json = JSON.stringify(data); var blob = new Blob([json], {...
Ash Blue's user avatar
  • 5,622
98 votes
6 answers
91k views

I need to add a UTF-8 byte-order-mark to generated text data on client side. How do I do that? Using new Blob(['\xEF\xBB\xBF' + content]) yields '"my data"', of course. Neither did '\uBBEF\x22BF'...
Kijewski's user avatar
  • 26.1k
72 votes
11 answers
217k views

I've followed this post How to export JavaScript array info to csv (on client side)? to get a nested js array written as a csv file. The array looks like: var test_array = [["name1", 2, 3], ["name2",...
duff's user avatar
  • 907
64 votes
3 answers
105k views

I just got started with Flask/Python. What I want to achieve is that I have a download button in my HTML and it calls the following function: function downloadPlotCSV() { $.ajax({ ...
Tarun Dugar's user avatar
  • 8,993
35 votes
7 answers
73k views

I run an iPython Notebook server, and would like users to be able to download a pandas dataframe as a csv file so that they can use it in their own environment. There's no personal data, so if the ...
Tom Slee's user avatar
  • 960
42 votes
1 answer
62k views

I need to export javascript array to CSV file and download it. I did it but 'ı,ü,ö,ğ,ş' this characters looks like 'ı ü ö ÄŸ ÅŸ' in the CSV file. I have tried many solutions recommended on this ...
Can Bozdemir's user avatar
27 votes
5 answers
71k views

I am building an application with a ReactJS front end that connects to an Express API server. Calls to the API are made using Ajax. In one of my views, a table loads with "Export" links on each row. ...
fryeguy's user avatar
  • 953
26 votes
2 answers
35k views

Basic summary of what I'm trying to do: Take files from user (using "dropzone" drag and drop bootstrap module to recieve files) Modify and do some "work" on the files Zip files together for single ...
IceBox's user avatar
  • 498
9 votes
1 answer
28k views

I'm using a plugin to generate a csv file from a table, the file is being downloaded with a "download" filename, how can I change the filename e.g. as dowload.csv var csv = $("#table").table2CSV({...
Noor's user avatar
  • 20.2k
12 votes
1 answer
35k views

<!DOCTYPE html> <html> <head> <title>&nbsp;</title> <meta charset=utf-8> </head> <body> <table> <tr> &...
PUG's user avatar
  • 351
10 votes
2 answers
13k views

I have an array with nested objects, such as this one: [ {"name": "1", "children": [{"name": "1.1", "children":"1.2"}]}, {"id": "2", "thing": [{"name": "2.1", "children":"2.2"}]}, {"name":...
user1789573's user avatar
11 votes
3 answers
14k views

I am experimenting with bokeh data table to display data embedded in web page. It works quite nicely. Is there a way to save the table content from the displayed data table? Other bokeh plots have ...
xyliu00's user avatar
  • 746
16 votes
2 answers
9k views

I'm saving a file in JavaScript using the following code: var a = document.createElement('a'); a.href = URL.createObjectURL(new Blob(['SOME DATA'])); a.download = 'some.dat'; a.click(); I want to ...
Steve Trout's user avatar
  • 9,349

15 30 50 per page
1
2 3 4 5
7