javascript - jquery getting json data problem

WBOY
Release: 2016-08-20 09:04:00
Original
809 people have browsed it

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?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!