I need to be able to get the width of elements from an array
HTML
--------
You can also do something like this using nth-child:
$("#container li:nth-child(1)").width(); // first li