Shadowing Posted August 26, 2012 Share Posted August 26, 2012 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 More sharing options...
Shadowing Posted August 26, 2012 Author Share Posted August 26, 2012 nevermind i guess i can just do this $(".name").each(function() { } Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now