For the following input element:
<input type="number" id="input">
Instead of:
document.getElementById('inpupt').value
// '12'
You can do:
document.getElementById('inpupt').valueAsNumber
// 12
For the following input element:
<input type="number" id="input">
Instead of:
document.getElementById('inpupt').value
// '12'
You can do:
document.getElementById('inpupt').valueAsNumber
// 12
For further actions, you may consider blocking this person and/or reporting abuse
it development | coding -
GreenestGoat -
Mike Young -
TAMIL SELVAN M IT -
Top comments (0)