//在使用许多相类似的有着不同类型的input元素时,  //这种基于精确度的方法很有用  // http://www.sharejs.com var elements = $('#someid input[type=sometype][value=somevalue]').get();