$(function () { $.ajax({ type: 'GET', url: '/update', success: function (response) { var html = "
" + response.title[i] + "
" + response.text[i] + "