Answers for "how to change max length of html tag dynamically"

0

input max length

<input maxlength="10" />
Posted by: Guest on October-02-2020
0

javascript add maxlength attribute

document.getElementById('text_input').setAttribute('maxlength', 200);
Posted by: Guest on March-27-2022

Browse Popular Code Answers by Language