Exporting HTML Table To Excel Not Working


#1

I don’t know this script restricted by 000webhost or not, because i’m trying it in localhost it’s working, but when I upload it to 00webhost, it’s not working at all. But, other Javascript function can be run. Please help.

this is the file I upload to host: https://mfaizal2016.000webhostapp.com/html2excel.php


#2

this is the source js code I copy from: http://jsfiddle.net/insin/cmewv/


#3

What errors are you getting?


#4

No error message comes out, but it cannot export the table to Excel. When you click the button, nothing happens