Use for loop to loop through array of li elements, and add responseText