Answer the question
In order to leave comments, you need to log in
How to parse JSON correctly?
For a response like {"service": quantity,"service": quantity}
I used the following code:
$.each(new_data, function (key, value){
$('#first').find('span#'+key).text(value + ' шт');
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question