Code Monkey home page Code Monkey logo

Comments (4)

skyw4rp avatar skyw4rp commented on May 28, 2024

also tried the "Quick Start"

$('#pagination-container').pagination({ dataSource: [1, 2, 3, 4, 5, 6, 7, 8], callback: function(data, pagination) { // template method of yourself var html = template(data); $('#data-container').html(html); } })

and i got

TypeError: $(...).pagination is not a function
dataSource: [1, 2, 3, 4, 5, 6, 7, 8],

from paginationjs.

superRaytin avatar superRaytin commented on May 28, 2024

hmm..it seems you are using the plugin method before jQuery loaded.

from paginationjs.

Ragnarok99 avatar Ragnarok99 commented on May 28, 2024

I have the same error TypeError: $(...).pagination is not a function

from paginationjs.

skyw4rp avatar skyw4rp commented on May 28, 2024

i have found the error, if you declare too many libraries, it will get you
that error.

try to write the function on the line where you need to use it instead of
doing it on the tag or at the bottom of the page.

that worked for me.

On Thu, Jun 30, 2016 at 2:37 PM, Ragnarok99 [email protected]
wrote:

I have the same error TypeError: $(...).pagination is not a function


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#10 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATI6tp1qfnpwxaFHuKPiOaR72-csG9AIks5qRAzogaJpZM4I62b4
.

from paginationjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.