Passing variables into a getElementById in JavaScript Posted July 18, 2019 var q = numb.value should work. You don't need the entire document.getElementById I know this is old but this would have saved me a half hour ago, so maybe it will help someone else.
Passing variables into a getElementById
in JavaScript
Posted
should work. You don't need the entire
I know this is old but this would have saved me a half hour ago, so maybe it will help someone else.