maxlength not working if read only textbox code example Example: input max length <input maxlength="10" />