Latest News: (loading..)

digital_i

Members
  • Content count

    1
  • Joined

  • Last visited

About digital_i

Profile Information

  • Real Name
    James
  1. 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.