News for hackers. Stuff that matters.
Re:Customizable HTML Select by user3939382 on Thursday February 20, 2025 @05:34PM (#43121232)
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.
Re:Customizable HTML Select by MildlySerious on Thursday February 20, 2025 @06:16PM (#43121761)
There is .valueAsNumber. input.value returns a string, regardless of the input type. Making the return type dynamic would be worse, imo.