|
|
|
@ -8,7 +8,7 @@ function updateRateForm() {
|
|
|
|
|
$("#itemweight").css("display", "none");
|
|
|
|
|
$("#itemsize").css("display", "none");
|
|
|
|
|
$("#itemweightlbs").css("display", "");
|
|
|
|
|
switch ($(this).val()) {
|
|
|
|
|
switch ($("#itemType").val()) {
|
|
|
|
|
case "Card":
|
|
|
|
|
$("#itemweight").css("display", "none");
|
|
|
|
|
$("#weightLbs").val("0");
|
|
|
|
@ -30,7 +30,17 @@ function updateRateForm() {
|
|
|
|
|
case "RegionalRateBoxB":
|
|
|
|
|
$("#itemweight").css("display", "");
|
|
|
|
|
break;
|
|
|
|
|
case "Pak":
|
|
|
|
|
case "Tube":
|
|
|
|
|
case "SmallExpressBox":
|
|
|
|
|
case "MediumExpressBox":
|
|
|
|
|
case "LargeExpressBox":
|
|
|
|
|
$("#itemweight").css("display", "");
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
if ($("#itemType").val().startsWith("UPS") || $("#itemType").val().startsWith("FedEx")) {
|
|
|
|
|
$("#itemweight").css("display", "");
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|