Answer the question
In order to leave comments, you need to log in
The calculator does not accept numbers with a ten, how to fix it?
Hello. There is one sports calculator:
$(document).ready(function() {
$(".submits").keyup(function(enter) {
if (enter.keyCode == 13) { //enter
wilks();
}
});
$("#findValue").click(function(enter) {
enter.preventDefault();
wilks();
});
});
var bodyweight = $('#bodyweight').val();
var liftedweight = $('#liftedweight').val();
Answer the question
In order to leave comments, you need to log in
100.25 - not a number
so that there are no errors, use
replace(',' , '.' );
parseInt
parseFloat
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question