File "clavier.php"
Full Path: /home/analogde/www/Prog/Serrure/clavier.php
File size: 5.12 KB
MIME-type: text/html
Charset: 8 bit
<html>
<head><title>Clavier Test</title>
<script src="http://code.jquery.com/jquery-latest.js" > </script>
<script type="text/JavaScript">
function Afficher(id) {
$( "#result" ).load( "action.php?id1="+id);
}
</script>
</head>
<body>
<h2>Clavier virtuel test</h2>
<form name="changer" method="POST">
Votre Nom: <input type="text" id="nom" name="nom" onFocus="Afficher(this.id)" /><br /><br />
Votre Prnom: <input type="text" id="prenom" name="prenom" onFocus="Afficher(this.id)" /><br /><br />
Votre Tel: <input type="text" id="tel" name="tel" onFocus="Afficher(this.id)" /><br /><br />
<input type="button" value="1" id="c1" onClick="clavier(1);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="2" id="c2" onClick="clavier(2);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="3" id="c3" onClick="clavier(3);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="4" id="c4" onClick="clavier(4);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="5" id="c5" onClick="clavier(5);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="6" id="c6" onClick="clavier(6);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="7" id="c7" onClick="clavier(7);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="8" id="c8" onClick="clavier(8);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="9" id="c9" onClick="clavier(9);" style="width:50px; height:50px; font-size:18px">
<input type="button" value="0" id="c0" onClick="clavier(0);" style="width:50px; height:50px; font-size:18px">
<br />
<input type="button" id="A" value="A" onClick="clavier('A');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="Z" value="Z" onClick="clavier('Z');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="E" value="E" onClick="clavier('E');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="R" value="R" onClick="clavier('R');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="T" value="T" onClick="clavier('T');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="Y" value="Y" onClick="clavier('Y');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="U" value="U" onClick="clavier('U');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="I" value="I" onClick="clavier('I');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="O" value="O" onClick="clavier('O');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="P" value="P" onClick="clavier('P');" style="width:50px; height:50px; font-size:18px">
<br />
<input type="button" id="Q" value="Q" onClick="clavier('Q');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="S" value="S" onClick="clavier('S');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="D" value="D" onClick="clavier('D');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="F" value="F" onClick="clavier('F');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="G" value="G" onClick="clavier('G');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="H" value="H" onClick="clavier('H');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="I" value="I" onClick="clavier('I');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="J" value="J" onClick="clavier('J');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="K" value="K" onClick="clavier('K');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="L" value="L" onClick="clavier('L');" style="width:50px; height:50px; font-size:18px">
<br />
<input type="button" id="M" value="M" onClick="clavier('M');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="W" value="W" onClick="clavier('W');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="X" value="X" onClick="clavier('X');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="C" value="C" onClick="clavier('C');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="V" value="V" onClick="clavier('V');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="B" value="B" onClick="clavier('B');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="N" value="N" onClick="clavier('N');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="@" value="@" onClick="clavier('@');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="-" value="-" onClick="clavier('-');" style="width:50px; height:50px; font-size:18px">
<input type="button" id="P" value=":" onClick="clavier(':');" style="width:50px; height:50px; font-size:18px">
<br /><br />
<input type="submit" value="Envoyer" />
</form>
champ slctionn :
<br>
<div id="result"></div>
</body>
</html>