'Why in jsfiddle display ReferenceError: function is not defined?

My code in jsfiddle is like this : https://jsfiddle.net/oscar11/1xstdra1/

When I run the script in jsfiddle, in console exist error like this : ReferenceError: doPagination is not defined. Whereas when I tried on my localhost, it works. no error

Any solution to solve my problem?

Thank you



Solution 1:[1]

The jQuery library is not included. You can do this by clicking the settings button in the javascript field, and then select a version of jQuery at "Frameworks and extensions".

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 LarsW