random number text in html
<button class="button" onclick="RandomID();" style="font-family: sans-serif;">RUN</button>
<input class="input" type="text" id="id" name="id" size="3" readonly />
random number text in html
<button class="button" onclick="RandomID();" style="font-family: sans-serif;">RUN</button>
<input class="input" type="text" id="id" name="id" size="3" readonly />
random number text in html
function RandomID() {
var value;
var rnd = Math.floor(Math.random() * 11);
if (rnd === 7)
value = "Wassup";
else if (rnd <= 5)
value = "Hello";
else
value = rnd;
document.getElementById('id').value = value;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us