$("#export-excel").live('click', function(e) {
window.open('data:application/vnd.ms-excel,' + $('#table-div').html());
e.preventDefault();
});
This code keeps grabbing the html tags when I export, so in the excel doc it comes out as <table><tbody>
.....