adius opened this Issue Dec 3, 2012 · 3 comments


None yet

3 participants

adius commented Dec 3, 2012

I don't get it. It's not working. No error, no warning, nothing.
....or i'm I just too stupid? ^^


No need to use jQuery:

$("#test") returns an array of elements, $("#tests")[0] should work aswell:

var spinner = new Spinner(opts).spin($("#test")[0]);​​​​​​​​​​​​
fgnass commented Dec 3, 2012

Yes, you need to pass the DOM element, not the jQuery instance:

@fgnass fgnass closed this Dec 3, 2012
adius commented Dec 3, 2012

Good to know. ^^
Thanks a lot!

But why didn't spin.js throw an error. I had no clue what to do...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment