Con el siguiente script borro un numero el el contenido de un html(numero de notificaciones):
Código HTML:
function borrar(obj){
$('body').on('click','.com-num', function(event) {
var el = $(this);
el.remove();
console.log(el);
});
borrar();
}
Código HTML:
function reset_unread_comments(id)
{
$.post("product/reset_unread_comments", { conversation_id: id },
function(data) {
alert("Data Loaded: " + data);
})
}
gracias


