>

सुरक्षा अलर्ट: धोखाधड़ी करने वाले टीवीएस क्रेडिट के नाम का गलत इस्तेमाल कर रहे हैं. किसी को भी व्यक्तिगत जानकारी साझा न करें या किसी को पैसे ट्रांसफर न करें. विशेष ऑफर पेज पर जाकर हमारे सभी खास ऑफर चैक करें. अगर आपको कोई फर्जी कॉल आता है, तो उनके बारे में 1930 पर कॉल करके या संचार साथी पोर्टल या ऐप के जरिए तुरंत रिपोर्ट करें

Hamburger Menu Icon

साइन अप करें और पाएं नए अपडेट्स और ऑफर्स

व्हाट्स ऐप

ऐप डाउनलोड करें

हमसे संपर्क करें

$('.otp__digit').on('input', function (e) { const currentInput = $(this); const currentIndex = parseInt(currentInput.data('index')); const value = $(this).val(); // Allow only numeric values and truncate anything longer than 1 character if (!/^\d$/.test(value)) { $(this).val(''); // Clear non-numeric input } // Move to the next input when a number is entered if (currentInput.val().length === 1 && currentIndex < 4) { $(`#ओटीपी${currentIndex + 1}`).focus(); } }); // Handle keydown event $('.otp__digit').on('keydown', function (e) { const currentInput = $(this); const currentIndex = parseInt(currentInput.data('index')); // Handle backspace: Move back and clear the previous field if (e.key === 'Backspace' && currentInput.val() === '' && currentIndex > 1) { $(`#ओटीपी${currentIndex - 1}`).focus().val(''); } }); // Disable paste functionality $('.otp__digit').on('paste', function (e) { e.preventDefault(); }); // Disable copy functionality $('.otp__digit').on('copy', function (e) { e.preventDefault(); }); });