html - Javascript maxLength on tag -


i have found on internet maxlenght input :

524288 characters

i can't find information regarding textarea.

i need passe var can 1 500 000 characters, try find similar input text or textarea or label can use that.

so question is, there tag capable of such huge capacity (if can tell me max lenght capacity of tag element nice too) ?

textarea has maxlength attribute

<textarea maxlength="number"> 

spec doesn't put limit on limit of value

but there max limit integer itself

so, can put number.max_safe_integer characters in textarea, around

 math.pow(2, 53) - 1     // 9007199254740991 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -