When making an Ajax call I could for example make a callback php function to display the html or the callback could callback a JSON and the display the data with jquery? is it the same? or which one is faster? or a more reliable way?
Read more here: What will be faster for displaying data with ajax/php/jquery?