2 ms·
Please forgive my tangential rant on the DOM. You have an input field where type=number and when you read it with .value() you get a string. Cmon man.
by user3939382 2y ago
Please forgive my tangential rant on the DOM. You have an input field where type=number and when you read it with .value() you get a string. Cmon man.
- MildlySerious 2y agoThere is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.