Export html to Excel Showing Error
Export html to Excel Showing Error
On exporting html table to excel using datatable export functionality the fowwlowing error shows
html table includes user input also
Uncaught Error: Syntax error, unrecognized expression: Length of Grama Panchayat/ Municipal/ Municipal Corporation Road
at Function.ga.error (jquery.min.js:2)
at ga.tokenize (jquery.min.js:2)
at ga.select (jquery.min.js:2)
at Function.ga [as find] (jquery.min.js:2)
at r.fn.init.find (jquery.min.js:2)
at new r.fn.init (jquery.min.js:2)
at r (jquery.min.js:2)
at Object.body (dataforms1.js:137)
at s.<anonymous> (dataTables.buttons.min.js:35)
at Function.exportData (jquery.dataTables.min.js:102)
using DataTables 1.10.16
How to solve this issue
Replies
Hi @abhikvnair ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin