Y
Y
Yaroslavv2017-04-09 17:34:01
JavaScript
Yaroslavv, 2017-04-09 17:34:01

How to assign your variable in jsonp request?

I make a request:
data.response[i]. variable //here you should have your own value (such a query gives undefined )
tell me how to correctly substitute the variable ( variable )
thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Luzanov, 2017-04-09
@Yaroslavv

data.response[i][variable]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question