Each data structure is as follows:
{ id: 2, year: "2016", month: "09", day: "19", time_name: "下午班", time_range: "14:00-17:00"},
Need to be based on the date of the data into the following linkage effect, temporarily did not think of a better cycle to their image of the provinces and cities as the linkage of the data structure, because after all, there are 3 dimensions. What better way to solve it?
Reply content:
Each data structure is as follows:
{ id: 2, year: "2016", month: "09", day: "19", time_name: "下午班", time_range: "14:00-17:00"},
Need to be based on the date of the data into the following linkage effect, temporarily did not think of a better cycle to their image of the provinces and cities as the linkage of the data structure, because after all, there are 3 dimensions. What better way to solve it?
It is too cumbersome to filter by code, we recommend using Web SQL, you can search for related articles
Or you can take a look at this HTML5 local storage