Posted April 26, 201410 yr HI All, I have extracted data from an online pubmed database in my browser which I am displaying in my browser. I also naeed to send this data to my linux server ( /var/www/html/dsd/ ) where it is processed and generates a results.txt file. I need to pick this file and display in other html table. How can i achieve this upload and picking file from server using ajax and html or php. currently i am downloading the csv file to my desktop without any problems. But my aim is to send this csv file to server and pick the result file. csvData = 'data:application/csv;charset=utf-8,' + encodeURIComponent(csv2); $(this) .attr({ 'download': filename, 'href': csvData, 'target': '_blank' }); } $(".export").on('click', function (event) {exportTableToCSV.apply(this, [$('#dvData>table'), 'Export.txt']); }); Continue reading...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.