The aim is to get the value from the Ajax success and use it in another function;
I have attached the code below:
Code:
let neededvalue; $.aj