How to get free keypad login script?

Asked By 10 points N/A Posted on -
qa-featured

Hello Experts,

How to get free keypad login script? I want to get some scripting code from the internet or any tutorial on creating a related thing like keypad log in process. To all programmers out there I know you can help me about this issue, your suggestions will be a great help.

Thank you.

 

 

SHARE
Best Answer by Sharath Reddy
Best Answer
Best Answer
Answered By 590495 points N/A #179465

How to get free keypad login script?

qa-featured

Since you are looking for a login script that can be applied on the keypad of a mobile phone, try creating the script below and see if this will work according to your specifications. See the instructions at HotScripts® – Where Web Development Starts | Keypad Login for your reference.

<html>

<head>

<style>

.tb{background:#cccccc;}

.spn{font-weight:bold;color:#0000ff;}

.btn

{

 width:50px;

 height:50px;

 font-weight:bold;

 font-size:24px;

 text-align:center;

 color:#0000ff;

 }

</style>

</head>

<body>

<table class="tb" border=3>

<tr>

<td colspan=3 align="center"><span class="spn">Enter 4 digit Pin code:</span></td>

</tr>

<tr>

<td><button class="btn" id="b1" onclick="value1()">1</button></td>

<td><button class="btn" id="b2" onclick="value2()">2</button></td>

<td><button class="btn" id="b3" onclick="value3()">3</button></td>

</tr>

<tr>

<td><button class="btn" id="b4" onclick="value4()">4</button></td>

<td><button class="btn" id="b5" onclick="value5()">5</button></td>

<td><button class="btn" id="b6" onclick="value6()">6</button></td>

</tr>

<tr>

<td><button class="btn" id="b7" onclick="value7()">7</button></td>

<td><button class="btn" id="b8" onclick="value8()">8</button></td>

<td><button class="btn" id="b9" onclick="value9()">9</button></td>

</tr>

</table>

<form name="theForm" method="post">

<input type="hidden" name="theValue" id="theValue">

</form>

<script>

var temp = '';

function value1(){temp += 1;test_it();}

function value2(){temp += 2;test_it();}

function value3(){temp += 3;test_it();}

function value4(){temp += 4;test_it();}

function value5(){temp += 5;test_it();}

function value6(){temp += 6;test_it();}

function value7(){temp += 7;test_it();}

function value8(){temp += 8;test_it();}

function value9(){temp += 9;test_it();}

function test_it()

{

 if(temp.length == 4)

 {

  document.getElementById("theValue").value = temp;

  document.theForm.action = "http://your_page.com";

  theForm.submit();

  }

 }

</script>

</body>

</html>

Related Questions