Need help to determine if tables are datatable

Need help to determine if tables are datatable

mattshiaomattshiao Posts: 2Questions: 0Answers: 0
edited September 2013 in General
Hi,

I am having trouble trying to determine if datatable has been applied to tables, I have this page:

http://codeturtle.com/files/table3.html

table 1 is a datatable, while table 2 is not. But both of them return false when the Test button is clicked.

Please help

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    edited September 2013
    Use the fnTables static method ( http://datatables.net/api#fnTables ).

    Allan
This discussion has been closed.