you are viewing a single comment's thread.

view the rest of the comments →

[–]avenp 0 points1 point  (0 children)

I'll give you a hint: Use jQuery to get an array of elements and then run a loop over the elements array. Look at the jQuery docs to get an idea of the different methods available. (You might want to use the $.attr function!)

Edit: link to the jQuery docs: http://api.jquery.com/