From a84728cc5e307c5fa494f0d305549e4bfc09869c Mon Sep 17 00:00:00 2001 From: moepoi <moepoi@protonmail.com> Date: Wed, 10 Nov 2021 12:01:43 +0700 Subject: [PATCH] Add otp.js --- public/js/otp.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 public/js/otp.js diff --git a/public/js/otp.js b/public/js/otp.js new file mode 100644 index 0000000..85fd043 --- /dev/null +++ b/public/js/otp.js @@ -0,0 +1,5 @@ +function clickEvent(first, last) { + if (first.value.length) { + document.getElementById(last).focus(); + } +} \ No newline at end of file