我有一个ASP.Net代码,用于处理购物车订单信息,并在那里处理需要的帐单金额。我需要将结算金额传递给javascript函数,以便将其传递给MasterCard集成。它适用于固定金额,但我现在需要动态金额。
<Property Id="WixQuietExecCmdLine" Value="command line to run"/>
if(data['ErrorCode'] == '000'){
$('#divMsg').html('Voucher Code Applied Successfully..!');
$('#divMsg').show('slide').fadeOut(8000);
$('#<%= divDisplayDiscount.ClientID %>').show();
$('#<%= divDiscount.ClientID %>').text(data['Discount']);
$('#<%= divDisplaySubAmount.ClientID %>').show();
$('#<%= divSubAmount.ClientID %>').text(addCommas(data['SubAmount']));
$('#<%= divBillAmount.ClientID %>').text(addCommas(data['BillAmount']));
$('#<%= divCartAmounts.ClientID %>').text(addCommas(data['BillAmount']));
$('#<%= txtCouponCode.ClientID %>').text(data['CouponCode']);
$('#<%= divDiscountPerc.ClientID %>').text(addCommas(data['DiscountPercentage']));
$('#<%= txtCouponCode.ClientID %>').attr('disabled','disabled');
$('#<%= btnChangeCode.ClientID %>').show();
$('#<%= btnApplyCode.ClientID %>').hide();