M
M
midarovrk2016-10-24 15:08:08
JavaScript
midarovrk, 2016-10-24 15:08:08

Why is the request aborted if the json api table does not have this parameter?

Hello.
Help fix it here https://jsfiddle.net/m3dLf7vp/6/ at the very bottom of the script that receives data from the API table. For some reason, if some parameter is not in the table, then the request for the following parameters is interrupted. For example, in this table there is no budgetData.budget parameter, but there is ratingAgeLimits, but for some reason it is not displayed, because there is no budgetData.budget. That is, everything that comes after the budgetData.budget request is interrupted and not displayed in div blocks. In general, the point is that sometimes there are some parameters in the table and sometimes they are not, always in different ways. How to make requests not interfere with each other?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question