Exporting HTML Table To Excel Not Working


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


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


What errors are you getting?


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