I am using
$(\'#list option\').each(function(){ //do stuff });
to loop over the options in a list. I am wondering how I could get the index of
$('#list option').each(function(intIndex){ //do stuff });