$('#tep_select').on('change',function(){
if($('#tep_select').val() == 1){
$('#tep_select_options').append('<input id="tep_select_options_'+1+'" type="text">');
}else{
$('#tep_select_options_'+1+'').remove();
}
});