how to set maxlength in readonly textbox code example Example: input max length <input maxlength="10" />