Level 53
put it in a data attribute and use jQuery's .data() method to get it out:
<a id="data" href="#" data-href="?blogId={{$obj->id}}&userId={{Auth::User()->id}}" class="post-add-icon inline-items">
Script
$(document).on('click','#data',function(e) {
e.preventDefault();
e.stopPropagation();
var data = $(this).data('href');
NProgress.start();
$.ajax({
method: 'get',
url: '/LikeArticle',
data: data,
async: true,
cache: false,
success: function (data){
console.log(data);
$('.LikeACountMemory-' + data.html.data.blog_id).html(data.html.view);
}
});
NProgress.done();
});