98
rated 0 times
[
105]
[
7]
/ answers: 1 / hits: 16024
/ 13 Years ago, wed, march 14, 2012, 12:00:00
I'm trying to update the shopping cart of my site upon closing a Fancybox instance. I'm using Fancybox 1.3.4. Assuming my function is valid, shouldn't the following work?
<script type=text/javascript>
$(function () {
$(a.ProductRollover).fancybox({
'padding':0,
'width': 785,
'height': 554,
'autoScale': false,
'type': 'iframe',
'onClosed': function() {
$('#cart_total').html(json['total']);
}
});
});
</script>
Thank you.
More From » fancybox