How to change “comma” separator to something else in blob csv?
问题 I am using the below jsfiddle code to separate the code to create csv file.It works fine except when there is comma in my column text.How can I change the separator? http://jsfiddle.net/5KRf6/3/ function makeCSV() { var csv = ""; $("table").find("tr").each(function () { var sep = ""; $(this).find("input").each(function () { csv += sep + $(this).val(); sep = ","; }); csv += "\n"; }); $("#csv").text(csv); window.URL = window.URL || window.webkiURL; var blob = new Blob([csv]); var blobURL =