N
N
nikita000012020-12-23 17:00:16
JavaScript
nikita00001, 2020-12-23 17:00:16

Why is the variable redefined in the method not happening and how to do it?

I need the curID variable value to be overridden in the query method function. In my code, curID stays at zero when outputting. Please tell me how to make the variable redefined correctly.
5fe34d2e89fdf135763132.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Il'ia Kartovitskii, 2020-12-23
@nikita00001

Most likely you have a problem in the conditions, check what comes in result'e

N
nikita00001, 2020-12-23
@nikita00001

The problem was in asynchrony, callback functions helped

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question