Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

digital_i

Pioneers
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    James

digital_i's Achievements

  1. Deceptively stealthy...

  2. I'm getting an error on my checkout screen (checkout_payment.php) at the top. Any ideas as to the problem? $(document).ready(function() { var a = 0; discount_code_process(); $('#discount_code').blur(function() { if (a == 0) discount_code_process(); a = 0 }); $("#discount_code").keypress(function(event) { if (event.which == 13) { event.preventDefault(); a = 1; discount_code_process() } }); function discount_code_process() { if ($("#discount_code").val() != "") { $("#discount_code").attr("readonly", "readonly"); $("#discount_code_status").empty().append(''); $.post("discount_code.php", { discount_code: $("#discount_code").val() }, function(data) { data == 1 ? $("#discount_code_status").empty().append('') : $("#discount_code_status").empty().append(''); $("#discount_code").removeAttr("readonly") }); } } }); #EDIT: The error is below the main bar but right above payment information.
×
×
  • Create New...