Having thousands delimiters set to on in either field breaks this code, it doesn't populate #q225. Am I missing something, is there a syntax error?
/*Thousands delimiters in either field breaks this code, it doesn't populate #q225 */ $(document).ready(function(){ $(document).on('change', '.minVolt input', function(){ if ($('#q223 input').val() < 5000){ $('#q225 input').val(1000); } else if (($('#q223 input').val() >= 5000) && ($('#q223 input').val() < 25000)){ $('#q225 input').val(2500); } else if ($('#q223 input').val() >= 25000){ $('#q225 input').val("Volt Rating Exceeded"); } }); });