524288?
2147483647?
-1?
No, that’s not my bank account balance…
Unlike any other attribute, maxlength is implicitly present on any input-element. I had to find this out the hard way trying to select only input-elements with an explicitly set maxlength via the jQuery-selector input[maxlength].
Continue reading