I have an anchor tag
<a download="temp.csv" id="temp" href="">Download Temp</a>
I am using a javascript function to populate the href value
the function is like
$('#temp').attr('href','data:application/webcsv;charset=utf8,' + encodeURIComponent(csvData));
This works fine on pc browsers. But not working on mobile browser.
What i am doing is create a csv file dynamically and want it download it to some location.
Thanks.