This code works:
$(this).load($('.pageloadlabel', this).attr('href'), {category: 1}); This code doesn't work:
var data = '{category: 1}'; $(this).load($('.pageloadlabel', this).attr('href'), data); The question is, how can I make it work? Thank you.