lundi 13 juin 2016

jQuery table2excel output error


I am using table2excel plugin to export the html table data to excel. It works fine and exported the data successfully except that the content of the excel has a code at the bottom which is I don't know where it came from. I tried finding the code on all of the plugins I am using but I didn't find it.

excel

as you can see at the picture above that their is three functions. I really don't know where it came from. Here is my code:

$('#exportUserTimeLog').click(function(){
    $('#timelogUserTable table').table2excel({
        name:'Worksheet',
        filename: 'testing'
    });
});

In my other projects I uses the same plugin and code but none of them created this kind of output. Hope someone can help me.


Aucun commentaire:

Enregistrer un commentaire