JSON responce populating undefine in dropdown
04:40 01 Nov 2017

JSON response is not populating in dropdown perhap query gat the result perfectly. alert the success function i.e alert(result.data);--[object object]

here is my html code

Jquery

function fillTransferJobPositionAreaDropDown( job_type_id,province_id,region_id,district_id,tehsil_id,uc_id, area_id) {
    var loadDDUrl = baseApiUrl + "Employee/all_new_job_positions_area/"+job_type_id+"/"+province_id+"/"+region_id+"/"+district_id+"/"+tehsil_id+"/"+uc_id+"/"+area_id;
    console.log(loadDDUrl);
    debugger;
    newJobPositionIDFld.empty();
    newJobPositionIDFld.append($("

PHP

$this->db->select('jp.job_position_id,jp.jobposition_title as job_name');
        $this->db->from('job_positions jp');


    $this->db->where('jp.job_type_id', $job_type_id);
    $this->db->where('jp.province_id', $province_id);
    $this->db->where('jp.region_id', $region_id);
    $this->db->where('jp.district_id', $district_id);
    $this->db->where('jp.tehsil_id', $tehsil_id);
    $this->db->where('jp.uc_id', $uc_id);
    $this->db->where('jp.area_id', $area_id);

   $this->db->get()->row_array();
php jquery json codeigniter