So I'm selecting elements based on their class, for example:
No matter which I use, if I then print out hasClass() for $(this/value), I get false. For example:
As you can see, I'm looping through all elements with the class 'nv-slice', but then calling hasClass('nv-slice') on any of these elements returns false.
Any help is much appreciated.