function editArray(id){
$.ajax({
type: 'POST',
dataType:'JSON',
url: 'oneAction.php',
data: 'action_type=data&id='+id,
success:function(data){
$('#oneEdit').val(data.one);
}
});
}
<input type="text" class="form-control" name="one" id="oneEdit"/>