zachwick / TableCSVExport

jQuery plugin to convert HTML table to CSV
http://zachwick.com/?p=87
42 stars 30 forks source link

  #3

Closed collmomo closed 12 years ago

collmomo commented 12 years ago

Ive added this line at 80 to prevent   to appear.

else if (jQuery(this).html() == " ") { tmpRow[tmpRow.length] = formatData(""); }

also if you could add css support to this plugin, it would make it perfect !!

zachwick commented 12 years ago

Thanks! I have implemented your fix, but I think that I am going to make it an option to insert 0's or just to have empty parts in the CSV. For future reference, you can commit your fix to your own fork and then submit a pull request and I can pull your changes into this repo. Then you would get the credit, and I don't have to retype your code. Although in this case it was only a couple of lines - but thanks again!