disallow tab on readonly code example Example: disallow tab on readonly <input type="text" class="one" tabIndex="-1" value="Name:" readonly>