Filter using multiple-attributes
var elements = $('#someid input[type=sometype][value=somevalue]').get(); //This precision-based approached can be useful when you use lots of similar input elements which have different types