Skip to content

Tag: input-field

How to get a number value from an input field?

I have some issues with calculating some stuff with JS and getting the right values out of the input fields (number). When I use this code it doesn’t show anything. So what is wrong with my JS? Do I need to include a jQuery file? Answer You had some mistakes in your HTML, but here is a working JSFiddle:…