There was a problem loading this content. Please check back later."); }, complete: function () { hideLocalLoading(loadingSymbolElement); if (ajaxCallback && typeof ajaxCallback === "function") { ajaxCallback(); } } }); } $(function () { $(".zeroDefault").each(function () { $("option[value='']", this).val("0"); }); $(".input-validation-error").addClass("is-invalid"); $(".field-validation-error-holder").addClass("invalid-feedback"); }); // trim on change of trimmable fields and disabling of initial fields classed as .ocem-disabled $(function () { $(document).on("change", ".ocem-trimmable", function () { $(this).val( $.trim($(this).val()) ); }); $(".ocem-disabled").prop("disabled", true); });