Problems with jquery functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Problems with jquery functions

I have a ajax function that calls an inner function on success. In this function, I can read, but not change Variables! How can I do this?

13th Jun 2018, 1:29 PM
Manuel 48
Manuel 48 - avatar
2 Answers
+ 5
Could you please share your code? :)
22nd Jun 2018, 5:32 AM
Pao
Pao - avatar
0
Not on a pc, but this is as good as i could: $ajax({ url:'x.com', success:function(data){ //data has to get out of the ajax function }, }) ;
22nd Jun 2018, 5:39 AM
Manuel 48
Manuel 48 - avatar