Using Datatables on blogger - static page

Using Datatables on blogger - static page

RAPZRAPZ Posts: 2Questions: 1Answers: 0

Hi, I'm trying to use the datatables.net grid on a static page of blogger but the grid is not working as expected. Perhaps I'm doing something wrong. Please see the sample blog: http://testecastelo.blogspot.pt/p/teste.html

Any ideas?
Thank you!

Answers

  • allanallan Posts: 63,812Questions: 1Answers: 10,516 Site admin

    jQuery is being loaded twice on your page. The first by jquery.min.js which has DataTables attached to it (since DataTables is loaded next). Then by curl 0BzhmjN6UOoj5ZWg2bW5UeG4yQ3M.js which wipes the old jQuery including any plug-ins attached to it (that's just how jQuery works, nothing I can do about it).

    The "fix" is to only include jQuery once.

    Allan

  • RAPZRAPZ Posts: 2Questions: 1Answers: 0

    Nice catch allan! It worked. Thank you!

This discussion has been closed.