Inside an array is a string. I want to loop thru the array and get the specific string inside the array using jquery. Just like in php where I can access the data like
$array_data[] = $data; 
foreach($array_data as $value){}
echo $value[0]['id'];
So i want to do that on jquery. Please Help
 var data = newArray[];
  $.each(data, function () { 
  });
 console.log(data[0]);
The data should look like this
Array
(
[0] => Array
    (
        [id] => 1
        [transaction_id] => 1
        [id_number] => 12102374
        [resource_id] => 110
        [start_date] => 2019-07-25
        [end_date] => 2019-07-27
    )
[1] => Array
    (
        [id] => 3
        [transaction_id] => 3
        [id_number] => 13103132
        [resource_id] => 187
        [start_date] => 2019-07-30
        [end_date] => 2019-08-01
    )
)
 
     
     
    