How can I access inner_variable after it is getting defined by the ajax call?
PS: I can't change anything in the ajax call success callback.
I tried to use setTimeout but it's not efficient enough.
jQuery(document).ready(function(){
   inner_variable = inner_variable + 1;
   jQuery.ajax({
         //code
   }).done(function(response){
     var inner_varaiable  = response;
   });
});
 
     
     
    