var table = $('#anwesendmo').DataTable( { with variable does not work
var table = $('#anwesendmo').DataTable( { with variable does not work
Hildeb67
Posts: 67Questions: 19Answers: 1
I have this Code rows
var table = $('#anwesendmo').DataTable( {
........
} );
This work perfect but with the variable "anwesenheitstabelle" does not work
var anwesenheitstabelle = '#anwsendmo';
var table = $(anwesenheitstabelle).DataTable( {
..........
can someone help me here?
Thanks and regards Christian
This question has an accepted answers - jump to answer
Answers
Looks like the spelling of
anwesendmo
is different between the working and non-working cases.Kevin
Great thanks for the hint.
You've marked Kevin's answer as not resolving the issue - is there a further problem, or was it just the wrong button?
Allan
Sorry was the wrong Button