Jacob Berger's code from [jQuery Succinctly](https://www.syncfusion.com/resources/techportal/ebooks/jquery)