Jump to content

looping through a class


Shadowing

Recommended Posts

I have a ton of these

<div class='name' data='bleh'></div><div class='name' data='bleh'></div><div class='name' data='bleh'></div><div class='name' data='bleh'></div>

i want to loop through each one using jquery.each()and i was reading about jqueries makearray function but im thinking i shouldnt need to do that right? is an class already a array?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...