I was struggling that , i should just return pure json data and then at the client side only combine with the html tags,
or we straight away return all the data included html at php side which will be plain text ? 

I was thinking if only return json will be faster for the processing time. Thanks. :)