value
が重複している要素を集めるならこういう処理も可能だと思います。
動くサンプル:https://jsfiddle.net/3hv1bLsg/3/
JavaScript
1function someObjectClick() {
2 var ary = [], res = {};
3 $( 'input[type="text"].hoge' ).each( function() {
4 var val = 'val_' + $( this ).val();
5 array.push( val );
6 if ( val === 'val_' ) { return; }
7 var i = $.inArray( val, ary )
8 if ( i === -1 ) { return; }
9 if ( typeof res[ val ] === 'undefined' ) {
10 res[ val ] = [];
11 res[ val ].push( $( '.hoge' ).eq( i ) );
12 }
13 res[ val ].push( $( this ) );
14 } );
15 return res;
16}
17var test = someObjectClick();
18console.log( test );
19console.log( test.val_hoge01[ 0 ].val() ); // "hoge01"
HTML
1<input class="hoge" type="text" name="hoge01" value="hoge01">
2<input class="hoge" type="text" name="hoge02" value="hoge02">
3<input class="hoge" type="text" name="hoge03" value="hoge04">
4<input class="hoge" type="text" name="hoge04" value="hoge04">
5<input class="hoge" type="text" name="hoge05" value="hoge01">
6<input class="hoge" type="text" name="hoge06" value="hoge02">
7<input class="hoge" type="text" name="hoge07" value="hoge03">
8<input class="hoge" type="text" name="hoge08" value="hoge04">
9<input class="hoge" type="text" name="hoge09" value="hoge04">
10<input class="hoge" type="text" name="hoge10" value="hoge01">