Index: uc_discount/uc_discount.js
===================================================================
--- uc_discount/uc_discount.js	(saved copy)
+++ uc_discount/uc_discount.js	(working copy)
@@ -6,23 +6,23 @@
  */
 
 var pane = '';
-if ($("input[@name*='delivery_']").length) {
+if ($("input[name*=delivery_]").length) {
   pane = 'delivery'
 }
-else if ($("input[@name*='billing_']").length) {
+else if ($("input[name*=billing_]").length) {
   pane = 'billing'
 }
 
 $(document).ready(function() {
   getDiscounts();
-  $("select[@name*='delivery_country'], "
-    + "select[@name*='delivery_zone'], "
-    + "input[@name*='delivery_city'], "
-    + "input[@name*='delivery_postal_code'], "
-    + "select[@name*='billing_country'], "
-    + "select[@name*='billing_zone'], "
-    + "input[@name*='billing_city'], "
-    + "input[@name*='billing_postal_code']").change(getDiscounts);
+  $("select[name*=delivery_country], "
+    + "select[name*=delivery_zone], "
+    + "input[name*=delivery_city], "
+    + "input[name*=delivery_postal_code], "
+    + "select[name*=billing_country], "
+    + "select[name*=billing_zone], "
+    + "input[name*=billing_city], "
+    + "input[name*=billing_postal_code]").change(getDiscounts);
   $('#edit-panes-payment-current-total').click(getDiscounts);
 });
 
