rem: $( ".advField" ).each( function() { value = $( this ).val(); if( value && value.match(/\S/) ) { gotone = true; } } ); 
add: function (i) { selected.push($(this).attr('id')); }); 
context:     $( ".advField" ).each( function() {      value = $( this ).val();      if( value && value.match(/\S/) ) {        gotone = true;      }    } );
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/085769ac0ad9db2d4c4b3f351ccbdc1b5802d427/citationscript.js/buggy/citations/citations-tool/tool/src/webapp/js/citationscript.js