Use data for success. And loop through it as needed.
Like
success: function (data) {
$.each(data, function (index, item) {
alert(item.dogname);
// loop and do whatever with data
});
},
Replace alert Where You Are placing the data on the page. I remembered also this example: https://laracasts.com/discuss/channels/laravel/laravel-view-problem