Giter Club home page Giter Club logo

Comments (6)

drgullin avatar drgullin commented on June 16, 2024

All you need to include (by default) is jQuery itself (or Zepto) and jquery.icheck.js (or zepto.icheck.js). In this case, you're free to customize inputs the way you need.

If you want to use preferred skin instead, you should check Usage tab, which is available on the right side of each skin.

from icheck.

ckizer avatar ckizer commented on June 16, 2024

I did that, but it fails to work.

[Error] ReferenceError: Can't find variable: Zepto (zepto.icheck.min.js, line 10)

from icheck.

drgullin avatar drgullin commented on June 16, 2024

Seems you're trying to use zepto.icheck.min.js with jQuery. Since it's a separate version for a Zepto library, it won't work with jQuery.

For jQuery you should use jquery.icheck.min.js.

from icheck.

ckizer avatar ckizer commented on June 16, 2024

I didn't choose anything, I just downloaded your package and dragged the js files from demo html into my project. I had no idea you weren't using jquery since you said jquery is required.

Sorry, I understand what's going on now, you wrote it for both, and I dragged the wrong one from the repo into my project. Can we add a really clear note about this in the readme. I'm usually pretty sharp about this sort of thing, but got really frustrated quickly 📦

from icheck.

ckizer avatar ckizer commented on June 16, 2024

It still doesn't work, now all my pages with forms load completely blank… this is so strange…

from icheck.

drgullin avatar drgullin commented on June 16, 2024

Well, there's a note:

By default, iCheck doesn't provide any CSS styles for wrapper divs (if you don't use skins).

That's why your inputs are blank, you have to add some CSS to style them, or you may use skins instead.

Installation is a bit different for skins, you should check Usage tab on the right side of the preferred skin.

from icheck.

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.