snippets
use innerHTML as a number
- bitty adds convenience methods
to elements including
el.innerHTMLAsInt()and el.innerHTMLAsFloat() which provide access to the innerHTML of an element as a number. - See the
element methodssection of the documentation for more.
html
1
1.1javascript
;