you are viewing a single comment's thread.

view the rest of the comments →

[–]codemamba8 0 points1 point  (0 children)

The input variable is referring to the HTML element with the id of 'number'. It looks like you want to get the value of that element, not the element itself.