bu arada ilk kısmı bu şekilde filtreleyip getirtebildim
<script>
var $select1 = $( '#ssa' ),
$select2 = $( '#gos' ),
$options = $select2.find( 'option' );
$select1.on( 'change', function() {
$select2.html( $options.filter( '[value="' + this.value + '"]' ) );
} ).trigger( 'change' );
</script>