References

References
1 newTotal - amount).toFixed(2
2 value + "") || "").replace(/[\$,]/g, ""); } else { // Use accounting.parse, to handle $ and , value = accounting.parse(value); } return this.optional( element ) || value >= param; }; jQuery.validator.classRuleSettings.minimum1 = { min: 1 }; jQuery.validator.messages.min = 'Please enter a value of at least {0}.' jQuery(".donation-form #country").change(function(event) { var element = jQuery(event.target || event.srcElement); // cross-browser event target selection var isInternational = (element.val() != "US" && element.val() != "CA" && element.val() != "BM"); jQuery(".donation-form #state, .donation-form #province").val(""); // clear the state when the country changes jQuery(".donation-form .field.city, .donation-form .field.state, .donation-form .field.province, .donation-form .field.zip-code, .donation-form .field.postal-code").toggle(!isInternational); jQuery(".donation-form #street-address").toggleClass("international", isInternational); if (element.val() == "BM") { jQuery(".donation-form .field.city .label").text(jQuery(".donation-form .field.city input").data("bm-label"
Top