Basic Usage Error (Newbie)

Basic Usage Error (Newbie)

whiskeymacwhiskeymac Posts: 2Questions: 1Answers: 0
edited May 2019 in Free community support

Hello

This is my first time so I apologise if I am doing something stupid…

I am trying to use DataTables from within the xenforo forum software…please see attached..php file.

I am calling the attached php file off a menu item on the “Members” menu within the forum.

I have done this already and it works fine if it is simply HTML. The attached HTML code works and produces a list of members on screen….

But I don’t understand how this HTML table gets handled by the datatables() function…

Please advise…

apologies for my ignorance...

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin
    Answer ✓

    DataTables is Javascript - so you need to put it in script tags!

    Allan

  • whiskeymacwhiskeymac Posts: 2Questions: 1Answers: 0

    Thanks very much - that was the error.

    :-)

This discussion has been closed.