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
rathod ketan -
Amrasakpare Lawrence -
Willian Ferreira Moya -
Oluwole Mariam -
Top comments (0)