Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82266

using datatables with addtocalendar

$
0
0

I have a datatable containing event data populated via json/ajax
By default, the table shows only upcoming events, (ie those whose start date is >= today)
There is a form with a radio button which effectively removes the date filter and re-loads the ajax data to display all events.
So far so good.

I thought a great feature would be to add functionality to the table so that the user could add the event detail to GCal, iCal, outlook etc.

I sourced a (free) script from addtocalendar.com which works great on page load, but when I remove the filter and reload the ajax data, it no longer works.
There are no errors in my console, and would appreciate some help into how I can debug it.
Link to work in progress vanilla test page

http://test3.forthwebsolutions.com/vanilla_events.php


Viewing all articles
Browse latest Browse all 82266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>