XML to datatables
XML to datatables
Hy Allan,
I imported xml data to my page this way:
$(document).ready(function() {
$.ajax({
type: "GET",
url: "xml/TEST.xml",
dataType: "html",
success: function(zapis){
I converted xml data and write it to new ID = "my data" on my html page in two ways:
1. I write it as table format to my ID, then and I try to use DOM to load it, but my data are shown out of datatables, ut no success.
2. I write it as CSV format to my ID (looks like in csv file) and I tryto use use AJAXsource to load it (with JQuery function with ID name enstead of mydata.csv, but no success.
Can you tell me the way please?
Best regards,
Adam
I imported xml data to my page this way:
$(document).ready(function() {
$.ajax({
type: "GET",
url: "xml/TEST.xml",
dataType: "html",
success: function(zapis){
I converted xml data and write it to new ID = "my data" on my html page in two ways:
1. I write it as table format to my ID, then and I try to use DOM to load it, but my data are shown out of datatables, ut no success.
2. I write it as CSV format to my ID (looks like in csv file) and I tryto use use AJAXsource to load it (with JQuery function with ID name enstead of mydata.csv, but no success.
Can you tell me the way please?
Best regards,
Adam
This discussion has been closed.