I want to make this Ajax call using get() inside each() function to fetch data from the files, looping through the each().
this is my piece of code:
    jQuery.each(html_files, function(index,post_html){
        jQuery.get(post_html, function(data){
            // do action
        });
    });
here, html_files is an array, containing list of html files.
However, i am only able to fetch the data for the first file. How do i execute this synchronously.
Thanks in advance!
 
    