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

TableTools error with jQuery 1.9.0: .live() is deprecated

$
0
0
jQuery 1.9.0 is no longer supporting the .live() method. It should be replaced with the .on() method. Currently TableTools 2.1.4 throws the following error with jQuery 1.9.0:
$("tr", dt.nTBody).live is not a function
TableTools.js line 1027

Editing that line to read
$('tr', dt.nTBody).on( 'click', function(e) {
fixes the error.

Viewing all articles
Browse latest Browse all 82258

Trending Articles



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