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

Hidden row details example is using a removed jQuery function

$
0
0
Just a quick fyi, the hidden rows example (http://datatables.net/examples/api/row_details.html) is using the .live jquery function which was removed in 1.9 (http://jquery.com/upgrade-guide/1.9/#live-removed). Not a big deal, it can just be replaced with .on, but I thought you might want to know.

.live() removed

The .live() method has been deprecated since jQuery 1.7 and has been removed in 1.9. We recommend upgrading code to use the .on() method instead. To exactly match $("a.foo").live("click", fn), for example, you can write $(document).on("click", "a.foo", fn). For more information, see the .on() documentation. In the meantime, the jQuery Migrate plugin can be used to restore the .live() functionality.

Viewing all articles
Browse latest Browse all 82217

Trending Articles