Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url:rutaOculta+"ajax/ajax.carrito.php",
- method:"POST",
- data:datos,
- cache:false,
- contentType:false,
- processData:false,
- success:function(respuesta){
- var resultado=JSON.parse(respuesta);
- $.each(resultado, function(index, value) {
- $(".cuerpo-tabla").html('<tr>'+
- '<th>'+inex.descripcion+'</th>'+
- '<th>'+inex.precio+'</th>'+
- '<th>'+inex.cantidad+'</th>'+
- '</tr>');
- });
- }
- })
Add Comment
Please, Sign In to add comment