Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67469

how can I use oninput without keyboard or mouseclick once there is a number entered inside my input that's driven by code?

$
0
0

I'm enetering input digits with my javascript and I want to activate a function every time there is a digit change (driven by javascript) inside on of my inputs without using keyboard or mouseclick. how can I do that? :)

<div class="row mt-3">
  <div class="recLock justify-content-center">
     <input oninput="finalCodeCheck(this)" type="text" maxlength="1" name="dig0" placeholder="*">
     <input oninput="finalCodeCheck(this)" type="text" maxlength="1" name="dig1" placeholder="*">
     <input oninput="finalCodeCheck(this)" type="text" maxlength="1" name="dig2" placeholder="*">
     <input oninput="finalCodeCheck(this)" type="text" maxlength="1" name="dig3" placeholder="*">
     <input oninput="finalCodeCheck(this)" type="text" maxlength="1" name="dig4" placeholder="*">
     <input oninput="finalCodeCheck(this)" type="text" maxlength="1" name="dig5" placeholder="*">
   </div>
</div>


Viewing all articles
Browse latest Browse all 67469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>