• flickr
  • linkedin
  • twitter
  • rss
Use jQuery to make an array of div items

Use jQuery to make an array of div items

var boxes = $('.box');

$(boxes[0]).click(function() 
{
alert('hi');
}
Tech Reference:

Larry's a 30-something chap interested in travel, being a dork and changing the world via less boring training.

Leave a reply