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

Selecting a datatable from a list of datatables dynamically

$
0
0
Hi,

I've a web page with 3-4 datatables and each datatable has been defined separately inside $(document).ready(). All the data tables have the same ajax source and are populated on page load. Now, I have 4 option buttons with each pointing to one datatable. When an option button is clicked, the corresponding datataable must be populated with data from a new ajax source. How do I select a datatable,clear its contents and load with ajax data from the new ajax source ?

Thanks,
Ray

Viewing all articles
Browse latest Browse all 82109

Trending Articles



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