How to filter the result of an ajax request?

0

I have a small ajax code that brings a value from the server, but when I want to use the result in the html the whole header is printed again.

<SCRIPT>
$("#proveedor").change(function(){
    $.ajax({
        url: "/producto/cantidadDeProductos/1", 
        success: function(res){
            alert(res);
        }
    });
});
</SCRIPT>
    
asked by Ariel 07.11.2016 в 23:31
source

0 answers