Toggle Switches.. Only one Showing..

Toggle Switches.. Only one Showing..

WebCodexWebCodex Posts: 71Questions: 13Answers: 3
edited November 2016 in Free community support

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

Answers

  • WebCodexWebCodex Posts: 71Questions: 13Answers: 3
    Answer ✓

    Ok, my bad, i just changed to a class and it works, you cant have 2 divs with the same IDs (doh)

This discussion has been closed.