Klawiatura



Czasem jest przydatna klawiatura do wprowadzania nie typowych znaków.

<html>
<head>
<script>
function add_value(input, character) {
if(input.value == null || input.value == "0")
input.value = character
else
input.value += character
}
</script>
</head>
<body>
<br>
<form name="scientific_calculator">
<input name="display" >
<br>polskie znaki<br>
<td align="center"><input type="button" value=" ą " onclick="add_value(this.form.display, 'ą')"></td>
<td align="center"><input type="button" value=" ę " onclick="add_value(this.form.display, 'ę')"></td>
<td align="center"><input type="button" value=" ś " onclick="add_value(this.form.display, 'ś')"></td><br>
<td align="center"><input type="button" value=" ć " onclick="add_value(this.form.display, 'ć')"></td>
<td align="center"><input type="button" value=" ń " onclick="add_value(this.form.display, 'ń')"></td>
<td align="center"><input type="button" value=" ż " onclick="add_value(this.form.display, 'ż')"></td><br>
<td align="center"><input type="button" value=" ź " onclick="add_value(this.form.display, 'ź')"></td>
<td align="center"><input type="button" value=" ó " onclick="add_value(this.form.display, 'ó')"></td>
<td align="center"><input type="button" value=" ł " onclick="add_value(this.form.display, 'ł')"></td>
</form>
</body>
</html>


klawiatura input text




Napisz komentarz


Wprowadź kod obrazka
Capcha