[eluser]amina[/eluser]
This is what I do not if this well
[code]
success:function(){
//I call the method json for get
$.getJSON("<?php echo base_url()?>contact/verCity",dato, function(json){
//I erase the content of the option select
$('#f_city').html('');
debugger;
//I cross the rows of the result of json
$.each(json.result, function(i,item){
//I introduce the option of the result json
$('#f_city').append('<option value="'+i+'">'+item+'</option>');
});
});
}
});