enter otp in box javascript example Example: otp input next field html css <input id="partitioned" type="text" maxlength="5" />