Home  >  Article  >  Backend Development  >  javascript - jquery getting json data problem

javascript - jquery getting json data problem

WBOY
WBOYOriginal
2016-08-20 09:04:00815browse

javascript - jquery getting json data problem

I used ajax to request the weather API data obtained by the backend, and then how to get back the date in the first set of data in weather_data in success?
Only this one data

Reply content:

javascript - jquery getting json data problem

I used ajax to request the weather API data obtained by the backend, and then how to get back the date in the first set of data in weather_data in success?
Only this one data

Directly write the index of the weather_data array. console.log(weather_data[0]['date']);

Is this a mobile phone interface?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:mysql insert problemNext article:mysql insert problem