Use of deprecated jQuery selectors in documentation
Use of deprecated jQuery selectors in documentation
Some of the jQuery selectors used in the documentation are deprecated since jQuery 3.4.0 (which was released 2 years ago, on April 10, 2019).
Two examples are :gt() and :lt().
From the jQuery documentation:
As of jQuery 3.4, the :gt pseudo-class is deprecated. Remove it from your selectors and filter the results later using .slice(). For example, :gt(3) can be replaced with a call to .slice( 4 ) (the provided index needs to be increased by one).
I have noticed that these selectors are used at least in the examples for the colvis button.
In respect to the colvis
button they should be removed from the examples and their use changed to using a function.
Replies
Yep, that's a fair point, thanks for letting us know. I've raised it internally (DD-1936 for my reference) and we'll report back here when there's an update.
Cheers,
Colin
Just to say I've made those changes, and they'll appear when the site is next rebuilt. Thanks again for reporting,
Colin