 idx = selected.prop('selectedIndex');   toselect.prop('selectedIndex', idx); }  $('#countyselect').change(   function() {     matchUp($('#countyselect'), $('#siteselect'));   } );  $('#siteselect').change(   function() {     matchUp($('#siteselect'), $('#countyselect'));   } ); 