I have a ajax request which returns data in json format like
{
    "response_code": 1,
    "response_data": {
        "ext": [
            {
                "client_id":"1003",
                "company_name":"Reachmediagg"
            },
            {
                "client_id":"1004",
                "company_name":"RaSpecial"
            }
        ],
        "row_count":2
    },
    "response_error":""
}
As you can see the data is inside the ext array inside json object, now I have to get the row number of the data, so I want for example row number of client_id 1004, which is 2. How will I do that in javascript?
 
     
     
    