I want to pass a variable by $.get()
but I do not know how to incorporate it (variable autor
is dynamic )
var autor = $('.item').data('autor')
$.get("php/galeria.php", {cat: +autor+}, function(htmlexterno){
$(".galeria").html(htmlexterno)
})
In advance, I thank you for your help