Toggle Switches.. Only one Showing..
Toggle Switches.. Only one Showing..
WebCodex
Posts: 71Questions: 13Answers: 3
Hi,
Im trying to get some jQuery Toggle Switches to show up in my DataTable but can only get one to show (See Attached Image)
Im using the Following inside the Datatable Init:
"fnInitComplete": function( settings ) {
$("#note_share_switch").toggleSwitch();
},
What am i doing wrong?
Thanks in advance,
WebCodex
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Ok, my bad, i just changed to a class and it works, you cant have 2 divs with the same IDs (doh)