Hello,
Can anybody help me please how to send data from client side (javascript) to csv file?
For example an array or list of data to save in a csv file
Thank you
Hello,
Can anybody help me please how to send data from client side (javascript) to csv file?
For example an array or list of data to save in a csv file
Thank you
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manesh GolekarRank #5,709 · 289 reputationPosted Aug 21, 2014, 8:08 PM EDT
Modify this - it should work
NelRank #2,060 · 702 reputationPosted Aug 22, 2014, 8:39 AM EDT
Hi Manesh,
I want to try this, but I don't have a table, I have this:
for (var i = 0; i < origins.length; i++) {
var results = response.rows[i].elements;
addMarker(origins[i], false);
addMarker(destinations[i], true);
outputDiv.innerHTML += origins[i] + ' to ' + destinations[i]
+ ': ' + results[i].distance.text + ' in '
+ results[i].duration.text + '
';
}
how to implement that in my case?
I tried like this
for (var i = 0; i < origins.length; i++) {
var results = response.rows[i].elements;
addMarker(origins[i], false);
addMarker(destinations[i], true);
outputDiv.innerHTML += origins[i] + ' to ' + destinations[i]
+ ': ' + results[i].distance.text + ' in '
+ results[i].duration.text + '
';
xls.Cells(i + 1, i + 1).Value = origins[i] + destinations[i]
+ ': ' + results[i].distance.text +
+ results[i].duration.text
}
but it doesn't work
Thanks