How to export user defined data using DataTables?
问题 I have a HTML table with a mixture of columns being hard coded values and others being set via java script functions dependant on user input. I can export the hard coded data fine, however it is the user defined values that I can't seem to pull through. Here is the sample of my project: function setSquat() { var squatMax = document.getElementById("txtSquatInput").value; var values = [0.4, //0 0.5, //1 0.6, //2 0.65, //3 0.7, //4 0.75, //5 0.8, //6 0.85, //7 0.9]; //8 var squatVal1 = values[3]