I have a question that is ending my nights .... I use the magento version 1.9 .... more when I installed the ecomdev
module to do the freight calculation on the product page it informs me an error clicking on calculate freight ...
Uncaught TypeError: undefined is not a function
return elements.inject(initial, function(result, element) {
if (!element.disabled && element.name) {
key = element.name; value = $(element).getValue();
if (value != null && element.type != 'file' && (element.type != 'submit' || (!submitted &&
submit !== false && (!submit || key == submit) && (submitted = true)))) {
result = accumulator(result, key, value);
}
}
return result;
});
}
};
The error is reported in the key = element.name; value = $(element).getValue();