So, I run this javascript . this code gets the html generated by cart.php
$.ajax({
type: "GET",
url: "/cart/cart.php",
async: false,
dataType: "html",
success: function(html){
$('#cart_content').html(html);
}
QUESTION ! how can get the value of a variable in cart.php ?
I would love something like this : $('#cart_content').html($myvar);